/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 72c49db
 * Options:   --bitfields --packed-struct --output test322.c
 * Seed:      936975963
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
#pragma pack(push)
#pragma pack(1)
struct S0 {
   unsigned f0 : 12;
};
#pragma pack(pop)

#pragma pack(push)
#pragma pack(1)
struct S1 {
   volatile signed f0 : 3;
   volatile unsigned f1 : 27;
   unsigned f2 : 22;
   signed f3 : 12;
   unsigned f4 : 31;
   unsigned f5 : 29;
};
#pragma pack(pop)

union U2 {
   volatile unsigned f0 : 26;
   int8_t  f1;
   volatile uint16_t  f2;
   unsigned f3 : 24;
};

/* --- GLOBAL VARIABLES --- */
static volatile uint64_t g_4[7] = {0x6092F644ACCB24CELL,1UL,0x6092F644ACCB24CELL,0x6092F644ACCB24CELL,1UL,0x6092F644ACCB24CELL,0x6092F644ACCB24CELL};
static uint64_t g_8 = 0xE813A3DBC56E700DLL;
static int32_t g_10 = (-1L);
static int32_t g_12 = 1L;
static int8_t g_31 = 0xF0L;
static uint32_t g_33 = 0x3A151CD2L;
static int32_t g_35 = 0x7BC77562L;
static int32_t *g_34 = &g_35;
static const uint8_t g_36 = 0x18L;
static const struct S0 g_46 = {59};
static uint8_t g_57[3] = {0xE9L,0xE9L,0xE9L};
static int64_t g_59 = 0L;
static uint64_t g_99[6] = {0x02F11925CFB43B78LL,0x02F11925CFB43B78LL,0x02F11925CFB43B78LL,0x02F11925CFB43B78LL,0x02F11925CFB43B78LL,0x02F11925CFB43B78LL};
static uint64_t g_131[1] = {0UL};
static int32_t g_143 = 1L;
static int32_t g_151[8][1] = {{1L},{0xB49C3B7DL},{1L},{1L},{0xB49C3B7DL},{1L},{1L},{0xB49C3B7DL}};
static int8_t g_161 = 0xE2L;
static int8_t *g_160[8] = {&g_161,&g_31,&g_161,&g_31,&g_161,&g_31,&g_161,&g_31};
static uint16_t g_187[3] = {0x436FL,0x436FL,0x436FL};
static uint32_t g_194 = 1UL;
static int32_t g_199[2][9] = {{4L,(-1L),0xA621C590L,(-1L),4L,4L,(-1L),0xA621C590L,(-1L)},{(-1L),4L,0x7B06419DL,0x7B06419DL,4L,(-1L),4L,0x7B06419DL,0x7B06419DL}};
static int64_t g_213 = 1L;
static int16_t g_215 = (-10L);
static uint16_t *g_237 = &g_187[2];
static volatile uint16_t g_239 = 65535UL;/* VOLATILE GLOBAL g_239 */
static volatile uint16_t *g_238 = &g_239;
static int64_t g_245[4][8] = {{0x5502811D3E0DDAC5LL,0x5502811D3E0DDAC5LL,9L,9L,0x5502811D3E0DDAC5LL,0x5502811D3E0DDAC5LL,9L,9L},{0x5502811D3E0DDAC5LL,0x5502811D3E0DDAC5LL,9L,9L,0x5502811D3E0DDAC5LL,0x5502811D3E0DDAC5LL,9L,9L},{0x5502811D3E0DDAC5LL,0x5502811D3E0DDAC5LL,9L,9L,0x5502811D3E0DDAC5LL,0x5502811D3E0DDAC5LL,9L,9L},{0x5502811D3E0DDAC5LL,0x5502811D3E0DDAC5LL,9L,9L,0x5502811D3E0DDAC5LL,0x5502811D3E0DDAC5LL,9L,9L}};
static uint8_t g_253 = 255UL;
static uint16_t g_295 = 1UL;
static int8_t **g_332[6][6][7] = {{{&g_160[6],&g_160[6],&g_160[2],&g_160[7],&g_160[5],&g_160[7],&g_160[1]},{&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5]},{&g_160[6],&g_160[7],&g_160[7],&g_160[6],&g_160[5],&g_160[2],&g_160[5]},{&g_160[1],&g_160[0],&g_160[5],&g_160[0],&g_160[1],&g_160[5],&g_160[5]},{&g_160[7],&g_160[6],&g_160[1],&g_160[1],&g_160[6],&g_160[7],&g_160[5]},{&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5]}},{{&g_160[7],&g_160[1],&g_160[5],&g_160[6],&g_160[6],&g_160[5],&g_160[1]},{&g_160[1],&g_160[5],&g_160[5],&g_160[5],&g_160[1],&g_160[5],&g_160[5]},{&g_160[6],&g_160[6],&g_160[5],&g_160[7],&g_160[7],&g_160[7],&g_160[7]},{&g_160[5],&g_160[0],&g_160[5],&g_160[5],&g_160[5],&g_160[0],&g_160[5]},{&g_160[6],&g_160[7],&g_160[1],&g_160[6],&g_160[7],&g_160[2],&g_160[2]},{&g_160[1],&g_160[5],&g_160[5],&g_160[5],&g_160[1],&g_160[0],&g_160[5]}},{{&g_160[5],&g_160[6],&g_160[7],&g_160[1],&g_160[6],&g_160[7],&g_160[2]},{&g_160[5],&g_160[5],&g_160[5],&g_160[0],&g_160[5],&g_160[5],&g_160[5]},{&g_160[5],&g_160[1],&g_160[2],&g_160[6],&g_160[6],&g_160[5],&g_160[7]},{&g_160[1],&g_160[5],&g_160[5],&g_160[5],&g_160[1],&g_160[5],&g_160[5]},{&g_160[6],&g_160[6],&g_160[2],&g_160[7],&g_160[5],&g_160[7],&g_160[1]},{&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5]}},{{&g_160[6],&g_160[7],&g_160[7],&g_160[6],&g_160[5],&g_160[2],&g_160[5]},{&g_160[1],&g_160[0],&g_160[5],&g_160[0],&g_160[1],&g_160[5],&g_160[5]},{&g_160[7],&g_160[6],&g_160[1],&g_160[1],&g_160[6],&g_160[7],&g_160[5]},{&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5]},{&g_160[7],&g_160[1],&g_160[5],&g_160[6],&g_160[6],&g_160[5],&g_160[1]},{&g_160[1],&g_160[5],&g_160[5],&g_160[5],&g_160[1],&g_160[5],&g_160[5]}},{{&g_160[6],&g_160[6],&g_160[5],&g_160[7],&g_160[7],&g_160[7],&g_160[7]},{&g_160[5],&g_160[0],&g_160[5],&g_160[5],&g_160[5],&g_160[0],&g_160[5]},{&g_160[6],&g_160[7],&g_160[1],&g_160[6],&g_160[7],&g_160[2],&g_160[2]},{&g_160[1],&g_160[5],&g_160[5],&g_160[5],&g_160[1],&g_160[0],&g_160[5]},{&g_160[5],&g_160[6],&g_160[7],&g_160[1],&g_160[6],&g_160[7],&g_160[2]},{&g_160[5],&g_160[5],&g_160[5],&g_160[0],&g_160[5],&g_160[5],&g_160[5]}},{{&g_160[5],&g_160[1],&g_160[2],&g_160[6],&g_160[6],&g_160[5],&g_160[7]},{&g_160[1],&g_160[5],&g_160[5],&g_160[5],&g_160[1],&g_160[5],&g_160[5]},{&g_160[6],&g_160[6],&g_160[2],&g_160[7],&g_160[5],&g_160[7],&g_160[1]},{&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5]},{&g_160[6],&g_160[7],&g_160[7],&g_160[6],&g_160[5],&g_160[2],&g_160[5]},{&g_160[1],&g_160[0],&g_160[5],&g_160[0],&g_160[1],&g_160[5],&g_160[5]}}};
static const volatile uint16_t *g_352 = (void*)0;
static const volatile uint16_t **g_351 = &g_352;
static const volatile uint16_t ** volatile * volatile g_350 = &g_351;/* VOLATILE GLOBAL g_350 */
static const volatile uint16_t ** volatile * volatile *g_349 = &g_350;
static uint64_t g_367 = 18446744073709551607UL;
static struct S0 g_384 = {56};
static uint64_t g_435 = 0UL;
static uint16_t g_440 = 0x9513L;
static const uint32_t g_493 = 0xA1638EB3L;
static uint8_t g_521 = 255UL;
static uint64_t *g_525 = &g_8;
static uint64_t **g_524 = &g_525;
static struct S1 g_596 = {-0,7492,1033,-21,9040,20017};/* VOLATILE GLOBAL g_596 */
static struct S1 g_598 = {0,3641,14,-63,18341,932};/* VOLATILE GLOBAL g_598 */
static struct S0 *g_694 = &g_384;
static struct S0 **g_693 = &g_694;
static uint16_t **g_774[8] = {&g_237,&g_237,&g_237,&g_237,&g_237,&g_237,&g_237,&g_237};
static uint16_t ***g_773 = &g_774[4];
static uint16_t ****g_772[8][8] = {{&g_773,&g_773,&g_773,(void*)0,&g_773,&g_773,(void*)0,(void*)0},{(void*)0,&g_773,&g_773,&g_773,&g_773,(void*)0,&g_773,(void*)0},{&g_773,(void*)0,&g_773,(void*)0,(void*)0,(void*)0,(void*)0,&g_773},{&g_773,&g_773,&g_773,(void*)0,&g_773,&g_773,(void*)0,(void*)0},{(void*)0,&g_773,&g_773,&g_773,&g_773,(void*)0,&g_773,(void*)0},{&g_773,(void*)0,&g_773,(void*)0,(void*)0,(void*)0,(void*)0,&g_773},{&g_773,&g_773,&g_773,(void*)0,&g_773,&g_773,(void*)0,(void*)0},{(void*)0,&g_773,&g_773,&g_773,&g_773,(void*)0,&g_773,(void*)0}};
static volatile uint32_t *g_785 = (void*)0;
static volatile uint32_t ** const g_784[1] = {&g_785};
static const int32_t *g_799[2][9] = {{&g_199[0][1],&g_35,&g_199[0][1],&g_35,&g_199[0][1],&g_35,&g_199[0][1],&g_35,&g_199[0][1]},{&g_199[0][5],&g_199[0][5],&g_199[0][5],&g_199[0][5],&g_199[0][5],&g_199[0][5],&g_199[0][5],&g_199[0][5],&g_199[0][5]}};
static uint16_t ***g_802[7] = {&g_774[0],&g_774[0],&g_774[0],&g_774[0],&g_774[0],&g_774[0],&g_774[0]};
static uint16_t **** const g_801[6] = {&g_802[4],&g_802[4],&g_802[4],&g_802[4],&g_802[4],&g_802[4]};
static uint16_t **** const *g_800[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static int8_t g_828 = 3L;
static struct S1 g_858 = {-0,3582,247,-13,5933,20258};/* VOLATILE GLOBAL g_858 */
static struct S1 *g_857 = &g_858;
static int32_t g_914 = 0x449D25A5L;
static int64_t g_926 = 1L;
static int32_t * const *g_947 = &g_34;
static int32_t * const **g_946 = &g_947;
static union U2 g_959 = {0x47F70DAAL};/* VOLATILE GLOBAL g_959 */
static union U2 g_961 = {4294967287UL};/* VOLATILE GLOBAL g_961 */
static union U2 g_962 = {0UL};/* VOLATILE GLOBAL g_962 */
static union U2 g_963[2][10] = {{{0xA18ED4FBL},{0UL},{0x2CB00FA3L},{0UL},{0xA18ED4FBL},{0x2CB00FA3L},{4294967295UL},{4294967295UL},{0x2CB00FA3L},{0xA18ED4FBL}},{{0xA18ED4FBL},{6UL},{6UL},{0xA18ED4FBL},{4294967295UL},{0x19B92562L},{0xA18ED4FBL},{0x19B92562L},{4294967295UL},{0xA18ED4FBL}}};
static union U2 g_964[9] = {{0x567C114FL},{0xAF4E8D86L},{0x567C114FL},{0x567C114FL},{0xAF4E8D86L},{0x567C114FL},{0x567C114FL},{0xAF4E8D86L},{0x567C114FL}};
static union U2 *g_960[8] = {&g_964[7],&g_962,&g_964[7],&g_962,&g_964[7],&g_962,&g_964[7],&g_962};
static union U2 g_1002 = {0x6FEE0286L};/* VOLATILE GLOBAL g_1002 */
static union U2 g_1020 = {8UL};/* VOLATILE GLOBAL g_1020 */
static int32_t *g_1034 = &g_914;
static int16_t g_1065 = 0x6E29L;
static int32_t g_1109 = (-3L);
static struct S1 g_1162 = {0,2166,734,-26,29663,14469};/* VOLATILE GLOBAL g_1162 */
static const int16_t g_1231 = 8L;
static const int16_t *g_1230 = &g_1231;
static volatile int32_t g_1391[1] = {(-3L)};
static volatile int32_t * volatile g_1390 = &g_1391[0];/* VOLATILE GLOBAL g_1390 */
static volatile int32_t * const  volatile *g_1389 = &g_1390;
static volatile int32_t * const  volatile **g_1388 = &g_1389;
static uint32_t g_1402 = 18446744073709551615UL;
static volatile uint32_t *** const  volatile g_1457[3] = {(void*)0,(void*)0,(void*)0};
static volatile uint32_t *** const  volatile *g_1456 = &g_1457[0];
static int8_t g_1520 = (-1L);
static uint32_t *g_1536 = (void*)0;
static uint32_t **g_1535 = &g_1536;
static uint32_t ***g_1534 = &g_1535;
static int16_t g_1557 = 0xE4F6L;
static int8_t g_1603 = 0L;
static uint8_t *g_1611 = (void*)0;
static uint8_t **g_1610 = &g_1611;
static int64_t g_1646 = (-4L);
static uint64_t * const  volatile * const  volatile **g_1678 = (void*)0;
static uint16_t g_1686[3] = {0x37F6L,0x37F6L,0x37F6L};
static int64_t g_1700 = 0x922CBA2A2A1F68CALL;
static union U2 g_1734[3][5][1] = {{{{1UL}},{{1UL}},{{1UL}},{{1UL}},{{1UL}}},{{{1UL}},{{1UL}},{{1UL}},{{1UL}},{{1UL}}},{{{1UL}},{{1UL}},{{1UL}},{{1UL}},{{1UL}}}};
static union U2 *g_1733 = &g_1734[2][4][0];
static union U2 g_1736 = {0xCE8B1099L};/* VOLATILE GLOBAL g_1736 */
static struct S1 g_1759[5] = {{1,10383,1289,-50,8360,15597},{1,10383,1289,-50,8360,15597},{1,10383,1289,-50,8360,15597},{1,10383,1289,-50,8360,15597},{1,10383,1289,-50,8360,15597}};
static uint16_t ** volatile *g_1785 = &g_774[4];
static uint16_t ** volatile ** const g_1784[7] = {&g_1785,&g_1785,&g_1785,&g_1785,&g_1785,&g_1785,&g_1785};
static uint16_t ** volatile ** const  volatile *g_1783 = &g_1784[0];
static int64_t g_1822 = 0x7B89D4BFFD2AEB81LL;
static uint32_t g_1904 = 1UL;
static struct S1 g_1908 = {1,2902,807,-63,13653,18014};/* VOLATILE GLOBAL g_1908 */
static uint32_t g_1960 = 18446744073709551615UL;
static uint64_t g_2060 = 18446744073709551613UL;
static uint16_t g_2090 = 6UL;
static const uint32_t *g_2139[2] = {&g_493,&g_493};
static const uint32_t **g_2138 = &g_2139[0];
static const uint32_t ***g_2137 = &g_2138;
static const uint32_t ****g_2136 = &g_2137;
static uint64_t g_2261 = 0xD2C718CA4024FFAFLL;
static int64_t g_2290[1][6] = {{0xF55A02C1B4120CDDLL,0xF55A02C1B4120CDDLL,0xF55A02C1B4120CDDLL,0xF55A02C1B4120CDDLL,0xF55A02C1B4120CDDLL,0xF55A02C1B4120CDDLL}};
static const int64_t **g_2372 = (void*)0;
static int16_t g_2381 = 0x572BL;
static const int64_t ***g_2387 = &g_2372;
static const int64_t ***g_2388 = (void*)0;
static struct S0 *g_2446 = &g_384;
static int8_t g_2479 = 0x7DL;
static int32_t g_2560 = (-7L);
static const uint64_t *g_2608 = &g_131[0];
static const uint64_t * const * const g_2607 = &g_2608;
static uint32_t ****g_2625 = &g_1534;
static uint32_t ** const ***g_2630 = (void*)0;
static struct S1 g_2639 = {-0,6896,1610,-35,1760,17923};/* VOLATILE GLOBAL g_2639 */
static uint16_t g_2683 = 0x7067L;
static int64_t g_2748 = 0x05F245D4762F34FCLL;
static struct S1 **g_2772[1][4][2] = {{{&g_857,&g_857},{&g_857,&g_857},{&g_857,&g_857},{&g_857,&g_857}}};
static struct S1 ***g_2771[2][3][7] = {{{&g_2772[0][1][1],(void*)0,&g_2772[0][0][1],&g_2772[0][0][1],(void*)0,&g_2772[0][1][1],(void*)0},{&g_2772[0][1][0],&g_2772[0][1][1],&g_2772[0][1][1],&g_2772[0][1][0],(void*)0,&g_2772[0][1][0],&g_2772[0][1][1]},{&g_2772[0][0][1],&g_2772[0][0][1],&g_2772[0][1][1],&g_2772[0][0][1],&g_2772[0][1][1],&g_2772[0][0][1],&g_2772[0][0][1]}},{{&g_2772[0][0][1],&g_2772[0][1][1],&g_2772[0][0][1],&g_2772[0][1][1],&g_2772[0][0][1],&g_2772[0][0][1],&g_2772[0][1][1]},{&g_2772[0][1][0],(void*)0,&g_2772[0][1][0],&g_2772[0][1][1],&g_2772[0][1][1],&g_2772[0][1][0],(void*)0},{&g_2772[0][1][1],(void*)0,&g_2772[0][0][1],&g_2772[0][0][1],(void*)0,&g_2772[0][1][1],(void*)0}}};
static uint32_t * const ** const *g_2775 = (void*)0;
static uint32_t * const ** const **g_2774 = &g_2775;
static union U2 **g_2856 = (void*)0;
static const union U2 g_2924 = {4294967295UL};/* VOLATILE GLOBAL g_2924 */
static struct S1 g_2954 = {-1,3363,96,-36,40350,10217};/* VOLATILE GLOBAL g_2954 */
static int32_t g_3075 = 0xB5569C4CL;
static struct S1 g_3204[1][4] = {{{-1,7135,2011,15,41736,9449},{-1,7135,2011,15,41736,9449},{-1,7135,2011,15,41736,9449},{-1,7135,2011,15,41736,9449}}};
static int8_t g_3258 = 0x7FL;
static int64_t ****g_3307[1] = {(void*)0};
static int64_t *****g_3306 = &g_3307[0];
static const uint64_t ****g_3547 = (void*)0;
static const uint64_t *****g_3546 = &g_3547;
static uint16_t g_3575 = 0x1625L;
static uint8_t g_3670 = 0xAFL;
static uint8_t *g_3669 = &g_3670;
static struct S1 g_3714 = {-0,4963,141,-33,39707,21337};/* VOLATILE GLOBAL g_3714 */
static int32_t g_3767[9][8] = {{0L,0L,0L,0L,0L,0L,0L,0L},{0L,0L,0L,0L,0L,0L,0L,0L},{0L,0L,0L,0L,0L,0L,0L,0L},{0L,0L,0L,0L,0L,0L,0L,0L},{0L,0L,0L,0L,0L,0L,0L,0L},{0L,0L,0L,0L,0L,0L,0L,0L},{0L,0L,0L,0L,0L,0L,0L,0L},{0L,0L,0L,0L,0L,0L,0L,0L},{0L,0L,0L,0L,0L,0L,0L,0L}};
static uint32_t g_3816 = 18446744073709551608UL;
static uint64_t g_3895[9][10][2] = {{{18446744073709551608UL,18446744073709551608UL},{0xE51EF8C19293E93FLL,0xB03313079485704CLL},{18446744073709551606UL,7UL},{0xBD1F66E07C14B79FLL,0xE51EF8C19293E93FLL},{18446744073709551615UL,0xBD1F66E07C14B79FLL},{0xF7F8C35E111CF1AELL,18446744073709551615UL},{0xF7F8C35E111CF1AELL,0xBD1F66E07C14B79FLL},{18446744073709551615UL,0xE51EF8C19293E93FLL},{0xBD1F66E07C14B79FLL,7UL},{18446744073709551606UL,0xB03313079485704CLL}},{{0xE51EF8C19293E93FLL,18446744073709551608UL},{18446744073709551608UL,18446744073709551608UL},{0xE51EF8C19293E93FLL,0xB03313079485704CLL},{18446744073709551606UL,7UL},{0xBD1F66E07C14B79FLL,0xE51EF8C19293E93FLL},{18446744073709551615UL,0xBD1F66E07C14B79FLL},{0xF7F8C35E111CF1AELL,18446744073709551615UL},{0xF7F8C35E111CF1AELL,0xBD1F66E07C14B79FLL},{18446744073709551615UL,0xE51EF8C19293E93FLL},{0xBD1F66E07C14B79FLL,7UL}},{{18446744073709551606UL,0xB03313079485704CLL},{0xE51EF8C19293E93FLL,18446744073709551608UL},{18446744073709551608UL,18446744073709551608UL},{0xE51EF8C19293E93FLL,0xB03313079485704CLL},{18446744073709551606UL,7UL},{0xBD1F66E07C14B79FLL,0xE51EF8C19293E93FLL},{18446744073709551615UL,0xBD1F66E07C14B79FLL},{0xF7F8C35E111CF1AELL,18446744073709551615UL},{0xF7F8C35E111CF1AELL,0xBD1F66E07C14B79FLL},{18446744073709551615UL,0xE51EF8C19293E93FLL}},{{0xBD1F66E07C14B79FLL,7UL},{18446744073709551606UL,0xB03313079485704CLL},{0xE51EF8C19293E93FLL,18446744073709551608UL},{18446744073709551608UL,18446744073709551608UL},{0xE51EF8C19293E93FLL,0xB03313079485704CLL},{18446744073709551606UL,7UL},{0xBD1F66E07C14B79FLL,0xE51EF8C19293E93FLL},{18446744073709551615UL,0xBD1F66E07C14B79FLL},{0xF7F8C35E111CF1AELL,18446744073709551615UL},{0xF7F8C35E111CF1AELL,0xBD1F66E07C14B79FLL}},{{18446744073709551615UL,0xE51EF8C19293E93FLL},{0xBD1F66E07C14B79FLL,7UL},{18446744073709551606UL,0xB03313079485704CLL},{0xE51EF8C19293E93FLL,18446744073709551608UL},{18446744073709551608UL,18446744073709551608UL},{0xE51EF8C19293E93FLL,0xB03313079485704CLL},{18446744073709551606UL,7UL},{0xBD1F66E07C14B79FLL,0xE51EF8C19293E93FLL},{18446744073709551615UL,0xBD1F66E07C14B79FLL},{0xF7F8C35E111CF1AELL,18446744073709551615UL}},{{0xF7F8C35E111CF1AELL,0xBD1F66E07C14B79FLL},{18446744073709551615UL,0xE51EF8C19293E93FLL},{0xBD1F66E07C14B79FLL,7UL},{18446744073709551606UL,0xB03313079485704CLL},{0xE51EF8C19293E93FLL,18446744073709551608UL},{18446744073709551608UL,18446744073709551608UL},{0xE51EF8C19293E93FLL,0xB03313079485704CLL},{18446744073709551606UL,7UL},{0xBD1F66E07C14B79FLL,0xE51EF8C19293E93FLL},{18446744073709551615UL,0xBD1F66E07C14B79FLL}},{{0xF7F8C35E111CF1AELL,18446744073709551615UL},{0xF7F8C35E111CF1AELL,0xBD1F66E07C14B79FLL},{18446744073709551615UL,0xE51EF8C19293E93FLL},{0xBD1F66E07C14B79FLL,7UL},{18446744073709551606UL,0xB03313079485704CLL},{0xE51EF8C19293E93FLL,18446744073709551608UL},{18446744073709551608UL,18446744073709551608UL},{0xE51EF8C19293E93FLL,0xB03313079485704CLL},{18446744073709551606UL,7UL},{0xBD1F66E07C14B79FLL,0xE51EF8C19293E93FLL}},{{18446744073709551615UL,0xBD1F66E07C14B79FLL},{0xF7F8C35E111CF1AELL,18446744073709551615UL},{0xF7F8C35E111CF1AELL,0xBD1F66E07C14B79FLL},{18446744073709551615UL,0xE51EF8C19293E93FLL},{0xBD1F66E07C14B79FLL,7UL},{18446744073709551606UL,0xB03313079485704CLL},{0xE51EF8C19293E93FLL,18446744073709551608UL},{18446744073709551608UL,0xDB3371321FB6F934LL},{18446744073709551608UL,0xE51EF8C19293E93FLL},{0xF7F8C35E111CF1AELL,18446744073709551615UL}},{{18446744073709551615UL,18446744073709551608UL},{18446744073709551606UL,18446744073709551615UL},{0xB03313079485704CLL,18446744073709551615UL},{0xB03313079485704CLL,18446744073709551615UL},{18446744073709551606UL,18446744073709551608UL},{18446744073709551615UL,18446744073709551615UL},{0xF7F8C35E111CF1AELL,0xE51EF8C19293E93FLL},{18446744073709551608UL,0xDB3371321FB6F934LL},{0xDB3371321FB6F934LL,0xDB3371321FB6F934LL},{18446744073709551608UL,0xE51EF8C19293E93FLL}}};
static struct S1 g_3901[2] = {{1,7655,261,-12,43611,1561},{1,7655,261,-12,43611,1561}};
static const union U2 * volatile ** volatile * const  volatile *g_3911 = (void*)0;
static const union U2 * volatile ** volatile * const  volatile g_3913[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
static const struct S0 g_3971[4] = {{50},{50},{50},{50}};
static const int32_t *g_3996 = &g_2560;
static union U2 g_4004[4][9][7] = {{{{0xAE397E13L},{4294967287UL},{0xA41FC34FL},{5UL},{4294967295UL},{0x238B5557L},{4294967295UL}},{{0x90D36AC5L},{4294967295UL},{0x4720B634L},{0x65A2AF0BL},{0x1C851681L},{4294967295UL},{0xC1DA8688L}},{{4294967295UL},{1UL},{7UL},{0x72538B2FL},{6UL},{4294967287UL},{0x9886F0C5L}},{{0xC1DA8688L},{0xF8F1F85DL},{6UL},{1UL},{0x1189D224L},{0x0C1939A0L},{0xF1F7E301L}},{{0xCE0EF1A6L},{0UL},{0x0C1939A0L},{0xE25DB971L},{0x1189D224L},{0x1B28B4D8L},{4294967295UL}},{{0x0D77203BL},{6UL},{0x72538B2FL},{6UL},{6UL},{4UL},{4294967295UL}},{{4294967287UL},{1UL},{1UL},{4294967295UL},{0x1C851681L},{0x0D77203BL},{4294967295UL}},{{0xA765FA63L},{0x9886F0C5L},{4294967295UL},{4294967295UL},{4294967295UL},{0x326BE6E0L},{0x484826A5L}},{{0xA62BBCE6L},{0x0FB932C3L},{8UL},{8UL},{0x0FB932C3L},{0xA62BBCE6L},{4294967294UL}}},{{{0xCE0EF1A6L},{1UL},{4294967295UL},{7UL},{2UL},{0x4A63FB5AL},{0x8D1CD703L}},{{4294967294UL},{0x0D77203BL},{0xA41FC34FL},{4294967292UL},{0UL},{6UL},{4294967295UL}},{{4294967295UL},{1UL},{4294967287UL},{4294967295UL},{0xAE397E13L},{4294967287UL},{0xA41FC34FL}},{{4294967292UL},{0x0FB932C3L},{0x0672795BL},{1UL},{0xA41FC34FL},{4294967287UL},{0x521071EFL}},{{0x1CE681E4L},{0x9886F0C5L},{5UL},{4294967295UL},{4294967294UL},{1UL},{4294967294UL}},{{0x4A63FB5AL},{1UL},{0xC1DA8688L},{4294967293UL},{0x9886F0C5L},{4UL},{0xA62BBCE6L}},{{4294967295UL},{6UL},{4294967295UL},{4294967295UL},{0x72538B2FL},{4294967295UL},{6UL}},{{4UL},{0UL},{4294967287UL},{0x65A2AF0BL},{4294967286UL},{4294967295UL},{1UL}},{{7UL},{0xF8F1F85DL},{1UL},{0xC1DA8688L},{4294967295UL},{4UL},{1UL}}},{{{0x65A2AF0BL},{1UL},{0x4720B634L},{4294967291UL},{0x521071EFL},{1UL},{0xF1F7E301L}},{{4294967295UL},{4294967295UL},{0x1CE681E4L},{4UL},{0x5C4169F0L},{4294967287UL},{0UL}},{{4294967294UL},{4294967287UL},{1UL},{1UL},{1UL},{4294967287UL},{4294967294UL}},{{4294967286UL},{0UL},{1UL},{0UL},{4294967295UL},{6UL},{4294967295UL}},{{0x89D28ECEL},{4294967294UL},{8UL},{4294967289UL},{0x0672795BL},{0x67E7B9A4L},{4294967294UL}},{{4294967287UL},{6UL},{0x521071EFL},{0x0FB932C3L},{0x488C5F3CL},{0xE25DB971L},{0x0D77203BL}},{{1UL},{4294967295UL},{4294967289UL},{1UL},{4294967295UL},{4294967292UL},{0xE25DB971L}},{{0UL},{4294967295UL},{0xA765FA63L},{0xF8F1F85DL},{0x3220139CL},{0UL},{6UL}},{{4294967295UL},{4294967289UL},{0x82DE34DDL},{0xA765FA63L},{0x1CE681E4L},{4294967295UL},{0x326BE6E0L}}},{{{1UL},{0x8FA33FAAL},{4294967295UL},{0x89D28ECEL},{4294967295UL},{1UL},{0x238B5557L}},{{4294967289UL},{4294967294UL},{4294967294UL},{0x0FB932C3L},{4294967287UL},{4294967287UL},{0x238B5557L}},{{0x3ACCEE87L},{0x3220139CL},{0xCE0EF1A6L},{5UL},{0x238B5557L},{4294967287UL},{0x326BE6E0L}},{{0x0C1939A0L},{1UL},{4294967293UL},{0x1189D224L},{0xA765FA63L},{0xC1DA8688L},{6UL}},{{4294967295UL},{0x1B28B4D8L},{1UL},{4294967292UL},{1UL},{0x1CE681E4L},{0xE25DB971L}},{{4294967291UL},{0x0D77203BL},{0x8BED2A22L},{7UL},{7UL},{0x8BED2A22L},{0x0D77203BL}},{{0x0672795BL},{0x90D36AC5L},{4294967294UL},{0x5C4169F0L},{4294967295UL},{0xCE0EF1A6L},{4294967294UL}},{{1UL},{4294967287UL},{4UL},{1UL},{4294967295UL},{8UL},{1UL}},{{6UL},{0xA41FC34FL},{1UL},{0x5C4169F0L},{0x326BE6E0L},{0xC1DA8688L},{0UL}}}};
static union U2 g_4006 = {4294967286UL};/* VOLATILE GLOBAL g_4006 */
static int64_t g_4035[6][9] = {{0x968DEBF3EBBB4241LL,1L,1L,0x968DEBF3EBBB4241LL,0x968DEBF3EBBB4241LL,1L,1L,0x968DEBF3EBBB4241LL,0xB33F088D37E3A8FCLL},{0L,0x4B0F6218D9FFCA74LL,0x75E6196F99AFF490LL,0x4B0F6218D9FFCA74LL,0L,(-5L),0L,0x4B0F6218D9FFCA74LL,0x75E6196F99AFF490LL},{0x968DEBF3EBBB4241LL,0x968DEBF3EBBB4241LL,1L,1L,0x968DEBF3EBBB4241LL,0xB33F088D37E3A8FCLL,1L,1L,0xB33F088D37E3A8FCLL},{(-1L),0x4B0F6218D9FFCA74LL,0x006A80B5FA6A4B4ELL,0x4B0F6218D9FFCA74LL,(-1L),(-5L),(-1L),0x4B0F6218D9FFCA74LL,0x006A80B5FA6A4B4ELL},{0x968DEBF3EBBB4241LL,1L,1L,0x968DEBF3EBBB4241LL,0x968DEBF3EBBB4241LL,1L,1L,0x968DEBF3EBBB4241LL,0xB33F088D37E3A8FCLL},{0L,0x4B0F6218D9FFCA74LL,0x75E6196F99AFF490LL,0x4B0F6218D9FFCA74LL,0L,(-5L),0L,0x4B0F6218D9FFCA74LL,0x75E6196F99AFF490LL}};
static struct S0 * volatile * volatile *g_4062 = (void*)0;
static struct S0 * volatile * volatile **g_4061 = &g_4062;
static struct S1 g_4076 = {-0,4752,1135,45,29827,11190};/* VOLATILE GLOBAL g_4076 */
static struct S1 g_4077 = {-0,5781,887,44,32233,16551};/* VOLATILE GLOBAL g_4077 */
static struct S1 g_4078 = {-0,1182,159,38,12615,5883};/* VOLATILE GLOBAL g_4078 */
static struct S1 g_4079 = {-0,5820,1877,6,40016,14169};/* VOLATILE GLOBAL g_4079 */
static struct S1 g_4080 = {-1,3428,457,-13,16421,17311};/* VOLATILE GLOBAL g_4080 */
static struct S1 g_4081[7] = {{1,9329,1442,14,18701,13129},{1,9329,1442,14,18701,13129},{1,9329,1442,14,18701,13129},{1,9329,1442,14,18701,13129},{1,9329,1442,14,18701,13129},{1,9329,1442,14,18701,13129},{1,9329,1442,14,18701,13129}};
static struct S1 g_4082 = {-0,5733,324,-29,27095,9081};/* VOLATILE GLOBAL g_4082 */
static struct S1 g_4083 = {1,5679,1552,18,33449,790};/* VOLATILE GLOBAL g_4083 */
static struct S1 g_4084 = {0,10100,1652,59,1691,3313};/* VOLATILE GLOBAL g_4084 */
static struct S1 g_4085 = {-0,3614,574,-61,12905,19222};/* VOLATILE GLOBAL g_4085 */
static struct S1 g_4086 = {1,8556,844,11,35882,15923};/* VOLATILE GLOBAL g_4086 */
static union U2 g_4087 = {0UL};/* VOLATILE GLOBAL g_4087 */


/* --- FORWARD DECLARATIONS --- */
static union U2  func_1(void);
static int64_t  func_17(int32_t * p_18);
static int32_t * func_19(int32_t * p_20, const uint32_t  p_21, uint16_t  p_22, int32_t * p_23);
static int32_t * func_24(int64_t  p_25, int32_t * const  p_26);
static int32_t  func_43(const struct S0  p_44, uint32_t  p_45);
static int32_t  func_63(uint64_t  p_64, struct S0  p_65);
static int32_t  func_83(int8_t * p_84, int16_t  p_85, uint32_t  p_86, uint64_t  p_87, uint64_t  p_88);
static int8_t * func_89(uint64_t  p_90, int16_t  p_91, int32_t  p_92, int8_t * p_93, int8_t * p_94);
static int16_t  func_107(uint64_t  p_108, uint16_t  p_109, uint8_t * p_110, const int32_t  p_111);
static struct S0  func_112(const struct S0  p_113, uint8_t  p_114, uint8_t * p_115);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_4 g_8 g_12 g_31 g_33 g_34 g_36 g_35 g_46 g_946 g_947 g_2607 g_2608 g_131 g_1603 g_1034 g_914 g_4079.f3 g_4087
 * writes: g_10 g_12 g_31 g_33 g_35 g_57 g_59 g_1603 g_914 g_4079.f3
 */
static union U2  func_1(void)
{ /* block id: 0 */
    uint16_t l_7 = 65535UL;
    int32_t *l_9 = &g_10;
    int32_t *l_11 = &g_12;
    int64_t l_29[8] = {1L,0xC25417612D29ED7DLL,1L,0xC25417612D29ED7DLL,1L,0xC25417612D29ED7DLL,1L,0xC25417612D29ED7DLL};
    int8_t *l_30 = &g_31;
    int i;
    g_4079.f3 &= (safe_lshift_func_uint16_t_u_u((g_4[4] == (((*l_11) ^= ((*l_9) = (safe_div_func_uint16_t_u_u(l_7, g_8)))) != ((*g_1034) ^= (safe_lshift_func_uint16_t_u_u(((g_8 || 0xFDL) >= (safe_add_func_int64_t_s_s(func_17(func_19(func_24(g_8, ((safe_lshift_func_uint8_t_u_s((l_11 != l_9), ((*l_30) |= l_29[3]))) , (void*)0)), g_36, g_36, &g_35)), (*g_2608)))), 14))))), l_29[0]));
    return g_4087;
}


/* ------------------------------------------ */
/* 
 * reads : g_46 g_36 g_35 g_31 g_946 g_947 g_34 g_2607 g_2608 g_131 g_1603
 * writes: g_57 g_59 g_31 g_35 g_1603
 */
static int64_t  func_17(int32_t * p_18)
{ /* block id: 14 */
    int8_t l_51 = 0xDAL;
    int32_t l_52 = 0x88BA54F9L;
    int64_t *l_58 = &g_59;
    int8_t l_60 = 0xF0L;
    uint16_t **l_3939 = &g_237;
    int32_t l_3958 = 3L;
    int32_t l_3959 = 0x150CEF85L;
    int32_t l_3961 = 1L;
    int32_t l_3962 = 1L;
    int32_t l_3963 = 3L;
    int32_t *l_3978 = &g_151[5][0];
    int32_t **l_3977 = &l_3978;
    int32_t ***l_3976 = &l_3977;
    int8_t **l_4028 = &g_160[5];
    if (((((safe_mul_func_int16_t_s_s((safe_mul_func_int32_t_s_s(func_43(g_46, (safe_mul_func_uint8_t_u_u((safe_div_func_uint64_t_u_u((((l_51 | ((*l_58) = (g_57[0] = ((l_52 = ((void*)0 == p_18)) & (18446744073709551614UL < (l_51 , (safe_mul_func_int16_t_s_s(((safe_lshift_func_int64_t_s_u(((&g_35 != &g_35) & (g_36 , l_51)), 45)) <= g_35), 0xF952L)))))))) < l_51) , l_60), l_51)), 0x3FL))), l_51)), l_51)) == l_60) == 65531UL) & 0xB24DL))
    { /* block id: 1941 */
        int8_t l_3940 = 3L;
        (***g_946) = (l_3939 == ((((**g_2607) > l_3940) , l_3940) , (void*)0));
    }
    else
    { /* block id: 1943 */
        int16_t l_3945[9] = {2L,2L,(-1L),2L,2L,(-1L),2L,2L,(-1L)};
        int32_t l_3953 = (-6L);
        int32_t l_3960 = 3L;
        int32_t l_3964 = 1L;
        const struct S0 *l_3970[6];
        struct S0 l_3983 = {38};
        const uint32_t **l_3991[10][6][1] = {{{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[1]},{(void*)0},{&g_2139[0]}},{{&g_2139[0]},{(void*)0},{&g_2139[1]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]}},{{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[1]}},{{&g_2139[0]},{&g_2139[0]},{&g_2139[1]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]}},{{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]}},{{&g_2139[1]},{&g_2139[0]},{&g_2139[0]},{&g_2139[1]},{&g_2139[0]},{&g_2139[0]}},{{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]}},{{&g_2139[0]},{&g_2139[1]},{&g_2139[0]},{&g_2139[0]},{&g_2139[1]},{&g_2139[0]}},{{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]},{&g_2139[0]}},{{&g_2139[0]},{&g_2139[0]},{&g_2139[1]},{&g_2139[0]},{&g_2139[0]},{&g_2139[1]}}};
        union U2 *l_4003[4] = {&g_4004[2][8][3],&g_4004[2][8][3],&g_4004[2][8][3],&g_4004[2][8][3]};
        uint8_t *l_4020[8] = {&g_521,&g_521,&g_521,&g_521,&g_521,&g_521,&g_521,&g_521};
        uint64_t **l_4034 = &g_525;
        int i, j, k;
        for (i = 0; i < 6; i++)
            l_3970[i] = &g_3971[2];
        for (g_1603 = 0; (g_1603 == 4); g_1603 = safe_add_func_int64_t_s_s(g_1603, 1))
        { /* block id: 1946 */
            uint64_t *l_3952 = &g_2060;
            int32_t *l_3954 = &g_2560;
            int32_t *l_3955 = &g_199[1][7];
            int32_t *l_3956 = (void*)0;
            int32_t *l_3957[1];
            uint32_t l_3965 = 5UL;
            const struct S0 *l_3969[4] = {&g_46,&g_46,&g_46,&g_46};
            const struct S0 **l_3968[6][10] = {{(void*)0,(void*)0,&l_3969[0],&l_3969[2],&l_3969[2],&l_3969[0],(void*)0,(void*)0,&l_3969[0],(void*)0},{&l_3969[0],(void*)0,&l_3969[0],&l_3969[3],&l_3969[0],&l_3969[0],(void*)0,&l_3969[0],&l_3969[0],&l_3969[2]},{&l_3969[0],&l_3969[0],&l_3969[0],&l_3969[0],&l_3969[0],&l_3969[0],(void*)0,(void*)0,&l_3969[0],(void*)0},{&l_3969[0],&l_3969[0],&l_3969[0],(void*)0,&l_3969[0],&l_3969[0],&l_3969[0],&l_3969[0],&l_3969[3],&l_3969[0]},{&l_3969[3],&l_3969[0],&l_3969[1],&l_3969[0],&l_3969[0],(void*)0,&l_3969[0],(void*)0,&l_3969[1],&l_3969[0]},{(void*)0,&l_3969[0],&l_3969[0],&l_3969[1],&l_3969[0],(void*)0,&l_3969[0],&l_3969[0],&l_3969[0],&l_3969[0]}};
            int32_t **l_3975[8][4] = {{&l_3957[0],&g_1034,&l_3956,&l_3956},{&g_34,&g_34,&l_3957[0],&l_3956},{&l_3957[0],&g_1034,&l_3957[0],&l_3957[0]},{&l_3957[0],&l_3957[0],&l_3957[0],&l_3957[0]},{&g_34,&l_3957[0],&l_3956,&l_3957[0]},{&l_3957[0],&g_1034,&l_3956,&l_3956},{&g_34,&g_34,&l_3957[0],&l_3956},{&l_3957[0],&g_1034,&l_3957[0],&l_3957[0]}};
            int32_t ***l_3974 = &l_3975[2][0];
            int32_t l_3979 = 0L;
            uint32_t **l_3984 = (void*)0;
            int8_t ** const l_4029 = &g_160[1];
            uint8_t ***l_4044 = &g_1610;
            uint32_t l_4066 = 18446744073709551612UL;
            int i, j;
            for (i = 0; i < 1; i++)
                l_3957[i] = &g_3767[4][5];
        }
        (*p_18) &= 3L;
        for (l_3959 = 0; (l_3959 == (-16)); --l_3959)
        { /* block id: 2005 */
            struct S1 *l_4075[2][8][2] = {{{&g_4076,&g_4082},{(void*)0,(void*)0},{&g_4078,&g_4084},{(void*)0,&g_4086},{&g_4083,&g_4079},{&g_4082,&g_4083},{&g_4081[5],&g_4077},{&g_4081[5],&g_4083}},{{&g_4082,&g_4079},{&g_4083,&g_4086},{(void*)0,&g_4084},{&g_4078,(void*)0},{(void*)0,&g_4082},{&g_4076,&g_4082},{(void*)0,(void*)0},{&g_4078,&g_4084}}};
            int i, j, k;
            (**g_947) = (safe_sub_func_uint32_t_u_u((safe_lshift_func_uint16_t_u_u((l_4075[1][0][0] != (void*)0), 11)), l_3953));
            (***g_946) = (0x21L == (-3L));
        }
    }
    return l_3961;
}


/* ------------------------------------------ */
/* 
 * reads : g_35 g_34
 * writes: g_35
 */
static int32_t * func_19(int32_t * p_20, const uint32_t  p_21, uint16_t  p_22, int32_t * p_23)
{ /* block id: 7 */
    for (g_35 = (-22); (g_35 <= 12); ++g_35)
    { /* block id: 10 */
        if ((*g_34))
            break;
    }
    return &g_35;
}


/* ------------------------------------------ */
/* 
 * reads : g_33 g_34
 * writes: g_33
 */
static int32_t * func_24(int64_t  p_25, int32_t * const  p_26)
{ /* block id: 4 */
    int32_t l_32 = 0xCC0E4260L;
    g_33 &= l_32;
    return g_34;
}


/* ------------------------------------------ */
/* 
 * reads : g_31 g_946 g_947 g_34 g_35
 * writes: g_31
 */
static int32_t  func_43(const struct S0  p_44, uint32_t  p_45)
{ /* block id: 18 */
    uint32_t l_66 = 0UL;
    struct S0 l_67 = {43};
    struct S0 l_731[9] = {{55},{55},{55},{55},{55},{55},{55},{55},{55}};
    uint8_t l_1855[8] = {0UL,0x1EL,0UL,0UL,0x1EL,0UL,0UL,0x1EL};
    int32_t l_3217 = 0x2ED3E8D2L;
    int32_t l_3218 = 0x87E3FF72L;
    int32_t l_3222 = 0x92B87064L;
    int32_t l_3224 = (-5L);
    int32_t l_3225 = 9L;
    int32_t l_3227 = (-1L);
    int32_t l_3228 = (-9L);
    int32_t l_3230 = 0x72D07CF0L;
    int32_t l_3231 = 1L;
    int32_t l_3233 = 3L;
    int32_t l_3236[10];
    uint8_t *l_3331 = &l_1855[0];
    struct S0 ***l_3337 = &g_693;
    const uint32_t * const *l_3363 = &g_2139[0];
    const uint32_t * const * const *l_3362[9][4] = {{&l_3363,&l_3363,&l_3363,&l_3363},{&l_3363,&l_3363,&l_3363,&l_3363},{&l_3363,&l_3363,&l_3363,&l_3363},{&l_3363,&l_3363,&l_3363,&l_3363},{&l_3363,&l_3363,&l_3363,&l_3363},{&l_3363,&l_3363,&l_3363,&l_3363},{&l_3363,&l_3363,&l_3363,&l_3363},{&l_3363,&l_3363,&l_3363,&l_3363},{&l_3363,&l_3363,&l_3363,&l_3363}};
    const uint32_t * const * const **l_3361 = &l_3362[0][1];
    uint32_t ****l_3372 = &g_1534;
    int8_t l_3373 = 0x13L;
    int32_t *l_3525 = &g_151[5][0];
    int32_t **l_3524 = &l_3525;
    int32_t ***l_3523 = &l_3524;
    uint32_t l_3550 = 0xA5FC11A3L;
    int32_t l_3645 = 0xC7404730L;
    int16_t *l_3654 = &g_1065;
    uint16_t l_3690[3][2] = {{65527UL,0x12B1L},{65527UL,65527UL},{0x12B1L,65527UL}};
    int32_t l_3742 = 7L;
    int32_t ****l_3794 = (void*)0;
    int32_t *****l_3793 = &l_3794;
    int32_t *l_3802 = (void*)0;
    uint8_t l_3850 = 0x96L;
    struct S1 *l_3900 = &g_3901[0];
    const union U2 *l_3914 = (void*)0;
    int16_t l_3918 = 8L;
    int8_t l_3920 = 1L;
    int16_t l_3923 = 4L;
    int8_t l_3927[4][8] = {{(-9L),0x8CL,(-9L),0x8CL,(-9L),0x8CL,(-9L),0x8CL},{(-9L),0x8CL,(-9L),0x8CL,(-9L),0x8CL,(-9L),0x8CL},{(-9L),0x8CL,(-9L),0x8CL,(-9L),0x8CL,(-9L),0x8CL},{(-9L),0x8CL,(-9L),0x8CL,(-9L),0x8CL,(-9L),0x8CL}};
    int16_t l_3928 = 9L;
    int i, j;
    for (i = 0; i < 10; i++)
        l_3236[i] = (-1L);
    for (g_31 = 0; (g_31 == 28); g_31 = safe_add_func_uint8_t_u_u(g_31, 7))
    { /* block id: 21 */
        int8_t l_123 = 0xFAL;
        struct S0 l_1856 = {7};
        int32_t l_3219[4];
        uint64_t l_3259 = 4UL;
        uint32_t **l_3286[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
        int64_t *l_3305 = &g_245[3][7];
        int64_t **l_3304 = &l_3305;
        int64_t ***l_3303 = &l_3304;
        int64_t ****l_3302 = &l_3303;
        int64_t *****l_3301 = &l_3302;
        int32_t l_3403 = 0L;
        uint64_t *** const l_3438[6] = {&g_524,&g_524,&g_524,&g_524,&g_524,&g_524};
        int16_t *l_3486 = &g_215;
        int16_t * const *l_3485 = &l_3486;
        int32_t *l_3499[2];
        int32_t ***l_3522 = (void*)0;
        uint32_t l_3601 = 0x9B3B4973L;
        int8_t * const *l_3604 = &g_160[0];
        union U2 ***l_3632 = &g_2856;
        int8_t l_3643[8][2] = {{0x08L,0x09L},{0x08L,0x08L},{0x09L,0x08L},{0x08L,0x09L},{0x08L,0x08L},{0x09L,0x08L},{0x08L,0x09L},{0x08L,0x08L}};
        int16_t **l_3655 = &l_3486;
        uint32_t l_3691 = 18446744073709551615UL;
        int8_t l_3768 = 0xAEL;
        uint8_t *l_3769 = &l_1855[6];
        uint16_t ****l_3772 = &g_773;
        int8_t **l_3827[7][1][7] = {{{&g_160[5],&g_160[5],&g_160[5],&g_160[2],&g_160[5],&g_160[2],&g_160[5]}},{{(void*)0,(void*)0,&g_160[4],(void*)0,(void*)0,&g_160[4],(void*)0}},{{&g_160[5],&g_160[2],&g_160[5],&g_160[5],&g_160[5],&g_160[2],&g_160[5]}},{{&g_160[5],(void*)0,&g_160[5],&g_160[5],(void*)0,&g_160[5],&g_160[5]}},{{&g_160[5],&g_160[5],&g_160[4],&g_160[5],&g_160[5],&g_160[6],&g_160[5]}},{{(void*)0,&g_160[5],&g_160[5],(void*)0,&g_160[5],&g_160[5],(void*)0}},{{&g_160[5],&g_160[5],&g_160[5],&g_160[2],&g_160[5],&g_160[2],&g_160[5]}}};
        uint64_t l_3831 = 18446744073709551609UL;
        int8_t * const **l_3832[10][3];
        int i, j, k;
        for (i = 0; i < 4; i++)
            l_3219[i] = 0xD1358FE9L;
        for (i = 0; i < 2; i++)
            l_3499[i] = &l_3218;
        for (i = 0; i < 10; i++)
        {
            for (j = 0; j < 3; j++)
                l_3832[i][j] = &l_3604;
        }
    }
    if ((l_3914 != l_3914))
    { /* block id: 1935 */
        int32_t *l_3915 = &g_2560;
        int32_t *l_3916[10] = {&l_3227,&l_3227,&g_2560,&l_3227,&l_3227,&g_2560,&l_3227,&l_3227,&g_2560,&l_3227};
        int8_t l_3917 = 4L;
        int32_t l_3919 = 0xEDC6D5DBL;
        int32_t l_3921[2];
        int8_t l_3922 = (-9L);
        int16_t l_3924 = 0x2CE2L;
        int32_t l_3925 = (-6L);
        int32_t l_3926 = (-9L);
        uint8_t l_3929 = 0x03L;
        int i;
        for (i = 0; i < 2; i++)
            l_3921[i] = (-7L);
        l_3929++;
    }
    else
    { /* block id: 1937 */
        int32_t l_3932 = 0xD775833BL;
        int32_t *l_3933 = &l_3228;
        int32_t l_3934 = (-1L);
        int32_t *l_3935[1];
        uint8_t l_3936 = 0xBDL;
        int i;
        for (i = 0; i < 1; i++)
            l_3935[i] = &l_3236[4];
        l_3936++;
    }
    return (***g_946);
}


/* ------------------------------------------ */
/* 
 * reads : g_33 g_34 g_35
 * writes: g_33
 */
static int32_t  func_63(uint64_t  p_64, struct S0  p_65)
{ /* block id: 22 */
    uint8_t l_75 = 1UL;
    for (g_33 = 0; (g_33 <= 2); g_33 += 1)
    { /* block id: 25 */
        int32_t *l_68 = &g_35;
        int32_t *l_69 = &g_35;
        int32_t *l_70 = &g_35;
        int32_t *l_71 = &g_35;
        int32_t *l_72 = &g_35;
        int32_t *l_73 = &g_35;
        int32_t l_74 = (-3L);
        ++l_75;
    }
    return (*g_34);
}


/* ------------------------------------------ */
/* 
 * reads : g_2607 g_596.f4 g_1785 g_774 g_237 g_187 g_1034 g_914 g_828 g_1520 g_2630 g_773 g_1230 g_1231 g_253 g_1908.f3 g_2446 g_2683 g_199 g_2560 g_693 g_694 g_384 g_2136 g_2137 g_2138 g_2139 g_493 g_59 g_2748 g_33 g_2771 g_1759.f3 g_2774 g_2639.f3 g_160 g_521 g_57 g_215 g_2290 g_143 g_2775 g_2608 g_131 g_3075 g_1700 g_161 g_2479
 * writes: g_1700 g_828 g_1520 g_187 g_2625 g_914 g_161 g_959.f1 g_253 g_1908.f3 g_1034 g_384 g_2683 g_2479 g_199 g_2560 g_694 g_213 g_59 g_2771 g_1759.f3 g_2639.f3 g_2388 g_1109 g_2856 g_521 g_57 g_799 g_215 g_143 g_2290 g_33 g_3075
 */
static int32_t  func_83(int8_t * p_84, int16_t  p_85, uint32_t  p_86, uint64_t  p_87, uint64_t  p_88)
{ /* block id: 1032 */
    int32_t **l_2010[2];
    int32_t ***l_2009 = &l_2010[0];
    int32_t l_2061[9] = {0xA5B0B087L,(-10L),(-10L),0xA5B0B087L,(-10L),(-10L),0xA5B0B087L,(-10L),(-10L)};
    int8_t **l_2120 = &g_160[5];
    uint16_t *l_2128 = &g_1686[2];
    uint64_t ***l_2130 = &g_524;
    int16_t l_2168 = 0x9272L;
    int32_t l_2218 = 0xB298F974L;
    uint64_t l_2234 = 9UL;
    uint32_t ***** const l_2237 = (void*)0;
    int16_t * const *l_2280 = (void*)0;
    int64_t l_2288 = (-1L);
    struct S0 l_2302 = {12};
    int64_t * const l_2371 = (void*)0;
    int64_t * const *l_2370 = &l_2371;
    int8_t l_2382 = (-1L);
    int32_t l_2410 = 0xA11A2875L;
    uint64_t * const *l_2471 = (void*)0;
    uint64_t * const **l_2470[4];
    uint64_t * const ***l_2469 = &l_2470[0];
    uint64_t * const ****l_2468[1];
    union U2 **l_2477 = &g_960[1];
    int16_t l_2545 = 0xD0AEL;
    int8_t l_2546 = 0xDFL;
    uint32_t l_2589 = 1UL;
    int32_t l_2590 = (-1L);
    uint32_t l_2626 = 1UL;
    int32_t l_2628 = 0x4EDFC193L;
    struct S1 **l_2686 = (void*)0;
    int32_t l_2700 = 0x461D3E08L;
    uint16_t l_2707 = 0xCAF6L;
    uint8_t l_2828 = 250UL;
    uint32_t l_2855 = 0UL;
    uint64_t l_2859 = 9UL;
    uint8_t l_2883 = 1UL;
    uint64_t * const  volatile * const  volatile ***l_3019 = &g_1678;
    uint32_t l_3023 = 0xB15592C5L;
    int8_t *l_3078 = &g_2479;
    int8_t l_3126 = 0x88L;
    uint8_t l_3154 = 0UL;
    const int32_t l_3193 = 0xFF72B15AL;
    int i;
    for (i = 0; i < 2; i++)
        l_2010[i] = &g_1034;
    for (i = 0; i < 4; i++)
        l_2470[i] = &l_2471;
    for (i = 0; i < 1; i++)
        l_2468[i] = &l_2469;
lbl_2967:
    for (g_1700 = (-6); (g_1700 < (-17)); --g_1700)
    { /* block id: 1035 */
        int32_t l_2025 = (-1L);
        uint32_t l_2026 = 0x46C7B671L;
        int32_t l_2029 = (-1L);
        uint8_t l_2078 = 0xD6L;
        int16_t l_2108 = 0x8EC8L;
        uint64_t ** const *l_2129 = &g_524;
        uint32_t ****l_2134 = &g_1534;
        uint64_t * const *l_2309 = (void*)0;
        uint64_t * const **l_2308 = &l_2309;
        uint64_t * const ***l_2307 = &l_2308;
        uint64_t * const ****l_2306 = &l_2307;
        int32_t l_2323 = 2L;
        int32_t l_2324 = (-2L);
        int32_t l_2327 = 0x5D863CB2L;
        const int64_t ***l_2385 = (void*)0;
        uint16_t *****l_2404 = (void*)0;
        uint64_t *l_2409 = &l_2234;
        int32_t l_2423 = (-9L);
        const struct S0 l_2442 = {37};
        uint16_t l_2474 = 0x9783L;
        uint32_t l_2481[3];
        uint32_t l_2518 = 0x213E1AAFL;
        int i;
        for (i = 0; i < 3; i++)
            l_2481[i] = 0UL;
    }
    if (p_88)
    { /* block id: 1322 */
        uint32_t l_2609 = 1UL;
        const int32_t l_2610 = 1L;
        uint32_t l_2627 = 0xF6B593FCL;
        int32_t l_2629 = 0x35DAB81BL;
        uint32_t ** const **l_2637 = (void*)0;
        uint32_t ** const ***l_2636 = &l_2637;
        const uint16_t *l_2667 = &g_440;
        int32_t l_2671 = 0xAE30386CL;
        int32_t l_2672 = 1L;
        int32_t l_2673 = 9L;
        uint32_t l_2691 = 18446744073709551610UL;
        int32_t l_2699 = 0x399DF287L;
        int8_t l_2701 = 0x0FL;
        int32_t l_2702 = 0xE71ED894L;
        int32_t l_2705 = 0x6358DDAEL;
        int32_t l_2706 = (-2L);
        uint32_t * const ** const **l_2776 = &g_2775;
        uint16_t ***l_2779 = &g_774[5];
        const int64_t ***l_2788 = &g_2372;
        uint16_t l_2804 = 0x83E1L;
        int64_t *l_2900 = &g_2290[0][1];
        int64_t **l_2899 = &l_2900;
        int64_t ***l_2898 = &l_2899;
        int64_t ****l_2897[10];
        uint64_t l_2917[2][9][2] = {{{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL}},{{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL},{18446744073709551614UL,0UL}}};
        int32_t l_2932 = 0L;
        int32_t l_2933 = 0xC7FE7DEDL;
        int32_t l_2934[1];
        uint16_t ***** const l_2945 = &g_772[2][1];
        int32_t l_2990 = 0x8C480A17L;
        int i, j, k;
        for (i = 0; i < 10; i++)
            l_2897[i] = &l_2898;
        for (i = 0; i < 1; i++)
            l_2934[i] = 0x4D7971C1L;
        if (((l_2609 = ((*p_84) = (safe_rshift_func_uint8_t_u_u((g_2607 != (void*)0), g_596.f4)))) != l_2610))
        { /* block id: 1325 */
            int32_t ****l_2618 = &l_2009;
            uint32_t ****l_2623[5][3][2] = {{{&g_1534,(void*)0},{&g_1534,&g_1534},{(void*)0,&g_1534}},{{(void*)0,&g_1534},{&g_1534,(void*)0},{&g_1534,(void*)0}},{{&g_1534,&g_1534},{(void*)0,(void*)0},{(void*)0,(void*)0}},{{(void*)0,&g_1534},{&g_1534,(void*)0},{&g_1534,(void*)0}},{{&g_1534,&g_1534},{(void*)0,&g_1534},{(void*)0,&g_1534}}};
            uint32_t *****l_2624[8];
            uint32_t *l_2635 = &l_2609;
            uint32_t ** const l_2634 = &l_2635;
            uint32_t ** const *l_2633 = &l_2634;
            uint32_t ** const **l_2632[1];
            uint32_t ** const ***l_2631 = &l_2632[0];
            const struct S1 *l_2638[2];
            struct S0 l_2658 = {41};
            uint16_t *l_2666 = (void*)0;
            int32_t l_2681 = 0L;
            struct S1 **l_2687 = &g_857;
            struct S1 ***l_2688 = &l_2686;
            int32_t l_2698 = (-2L);
            int32_t l_2703 = 8L;
            int8_t *l_2734 = &l_2701;
            int64_t ***l_2735 = (void*)0;
            uint64_t *l_2746 = &g_435;
            uint32_t l_2747[6][6][2] = {{{18446744073709551608UL,0x4EFCDE9FL},{0x2DB94D6EL,18446744073709551608UL},{18446744073709551612UL,0x89EDA9A2L},{18446744073709551612UL,18446744073709551608UL},{0x2DB94D6EL,0x4EFCDE9FL},{18446744073709551608UL,18446744073709551615UL}},{{1UL,1UL},{0x5BF4443DL,18446744073709551615UL},{18446744073709551615UL,18446744073709551608UL},{1UL,0xB2A26A39L},{1UL,3UL},{0x2DB94D6EL,18446744073709551607UL}},{{0x5BF4443DL,18446744073709551612UL},{0x89EDA9A2L,1UL},{18446744073709551606UL,0x4EFCDE9FL},{18446744073709551607UL,3UL},{1UL,1UL},{18446744073709551612UL,0x5BF4443DL}},{{18446744073709551615UL,18446744073709551607UL},{18446744073709551606UL,18446744073709551615UL},{1UL,18446744073709551615UL},{18446744073709551606UL,18446744073709551607UL},{18446744073709551615UL,0x5BF4443DL},{18446744073709551612UL,1UL}},{{1UL,3UL},{18446744073709551607UL,0x4EFCDE9FL},{18446744073709551606UL,1UL},{0x89EDA9A2L,18446744073709551612UL},{0x5BF4443DL,18446744073709551607UL},{0x2DB94D6EL,3UL}},{{1UL,0xB2A26A39L},{1UL,18446744073709551608UL},{18446744073709551615UL,18446744073709551615UL},{0x5BF4443DL,1UL},{1UL,18446744073709551615UL},{18446744073709551608UL,0x4EFCDE9FL}}};
            int32_t l_2762 = (-6L);
            const int64_t ****l_2789 = &g_2388;
            int32_t *l_2800 = &g_1109;
            int i, j, k;
            for (i = 0; i < 8; i++)
                l_2624[i] = &l_2623[4][1][1];
            for (i = 0; i < 1; i++)
                l_2632[i] = &l_2633;
            for (i = 0; i < 2; i++)
                l_2638[i] = &g_2639;
            if ((l_2629 = ((~(safe_lshift_func_int32_t_s_u(((((((***g_1785)--) <= p_86) , (((safe_lshift_func_int8_t_s_s((p_87 && p_86), ((*p_84) &= (((void*)0 != l_2618) | (p_88 ^ (((safe_add_func_uint16_t_u_u(((safe_add_func_uint32_t_u_u((&g_2137 != (g_2625 = l_2623[4][2][1])), ((*g_1034) = (((p_85 == l_2626) & (***l_2009)) && l_2609)))) || 0x88662B628FBCA930LL), p_87)) , &g_1678) == (void*)0)))))) , l_2610) | 0xB16D8A70L)) | l_2627) , p_87), l_2628))) , p_88)))
            { /* block id: 1331 */
                l_2636 = (l_2631 = g_2630);
            }
            else
            { /* block id: 1334 */
                const struct S1 **l_2640 = &l_2638[0];
                int32_t l_2665 = (-1L);
                const struct S0 l_2669 = {42};
                struct S0 l_2670 = {8};
                int32_t l_2682[4][3];
                int i, j;
                for (i = 0; i < 4; i++)
                {
                    for (j = 0; j < 3; j++)
                        l_2682[i][j] = 0xB2567C54L;
                }
lbl_2677:
                (*l_2640) = l_2638[1];
                for (g_161 = 0; (g_161 == 25); g_161 = safe_add_func_int32_t_s_s(g_161, 6))
                { /* block id: 1338 */
                    for (g_959.f1 = (-13); (g_959.f1 > (-24)); --g_959.f1)
                    { /* block id: 1341 */
                        int32_t l_2645 = 0x3C35E153L;
                        (***l_2009) = l_2645;
                        return p_87;
                    }
                }
                for (p_87 = (-22); (p_87 >= 45); p_87 = safe_add_func_uint64_t_u_u(p_87, 9))
                { /* block id: 1348 */
                    uint64_t l_2656[3][4] = {{18446744073709551615UL,1UL,1UL,18446744073709551615UL},{0x7ACE291258D435CDLL,1UL,0x46EB7A1B0EB0496DLL,1UL},{1UL,18446744073709551615UL,0x46EB7A1B0EB0496DLL,0x46EB7A1B0EB0496DLL}};
                    uint8_t *l_2668 = &g_253;
                    int i, j;
                    g_1908.f3 |= (safe_div_func_int64_t_s_s(((safe_div_func_uint64_t_u_u(p_87, ((safe_sub_func_uint16_t_u_u(((***g_773) &= p_87), ((((*p_84) = (safe_rshift_func_int64_t_s_s(l_2656[2][1], ((safe_unary_minus_func_uint8_t_u((l_2658 , ((*l_2668) &= (safe_mod_func_int64_t_s_s(((((((safe_mul_func_uint32_t_u_u((p_85 > 0L), (((l_2665 , (*g_1230)) < l_2656[1][0]) && 0x1908L))) , l_2666) == l_2667) >= l_2629) == l_2656[1][2]) || p_88), 0x388DA7586316DA47LL)))))) == (-8L))))) > p_86) , (****l_2618)))) & p_88))) & (****l_2618)), (***l_2009)));
                    (**l_2009) = (**l_2009);
                    (*g_2446) = l_2670;
                }
                for (g_914 = 7; (g_914 >= 1); g_914 -= 1)
                { /* block id: 1358 */
                    uint8_t l_2674 = 9UL;
                    int32_t l_2678 = 6L;
                    int32_t l_2679[9] = {6L,(-8L),6L,(-8L),6L,(-8L),6L,(-8L),6L};
                    int8_t l_2680[2][4][6] = {{{(-1L),(-7L),(-7L),(-1L),0x6CL,0x39L},{0x21L,0xB0L,0x63L,0xCFL,0L,1L},{0x63L,9L,1L,0xBDL,0L,0xBDL},{0L,0xB0L,0L,1L,0x6CL,9L}},{{0x39L,(-7L),0x5EL,1L,0x21L,0x6CL},{0xCFL,0xBDL,1L,1L,1L,1L},{0x39L,0x39L,0xB0L,1L,0x5EL,0L},{0L,0L,0x63L,9L,1L,0xBDL}}};
                    int i, j, k;
                    ++l_2674;
                    if (l_2674)
                        goto lbl_2677;
                    --g_2683;
                    return p_88;
                }
            }
            if ((((****l_2618) = (****l_2618)) && (((*l_2688) = (l_2687 = l_2686)) != (void*)0)))
            { /* block id: 1368 */
                uint8_t l_2694 = 5UL;
                int32_t l_2697[5][7] = {{0xC7CE0DFCL,1L,1L,(-9L),(-5L),(-5L),(-9L)},{0x96BA91C9L,0x4D237FE0L,0x96BA91C9L,1L,(-9L),0x96BA91C9L,0x536D568DL},{(-9L),0x4D237FE0L,0L,(-1L),0x4D237FE0L,0L,0x4D237FE0L},{(-8L),1L,1L,(-8L),0x536D568DL,0x96BA91C9L,(-9L)},{(-5L),0xC7CE0DFCL,1L,1L,(-9L),(-5L),(-5L)}};
                int16_t l_2704[10] = {0x1C82L,0x1C82L,(-1L),0x1C82L,0x1C82L,(-1L),0x1C82L,0x1C82L,(-1L),0x1C82L};
                int64_t * const l_2714 = &g_213;
                const struct S0 l_2720 = {1};
                int32_t l_2756 = 0x01C10BECL;
                uint16_t *l_2768 = &g_440;
                int i, j;
                for (g_2479 = 0; (g_2479 != 5); ++g_2479)
                { /* block id: 1371 */
                    l_2691++;
                    l_2694++;
                    (****l_2618) |= 9L;
                    if ((****l_2618))
                        break;
                }
                l_2707++;
                if ((g_2560 |= (safe_add_func_int32_t_s_s((g_199[0][8] &= (((((0x14A1338B54624D93LL | (safe_sub_func_uint16_t_u_u(((*g_237) = l_2697[1][5]), (((void*)0 != &l_2629) != (((l_2714 == l_2714) & (safe_rshift_func_int16_t_s_s((0x3DA5228BL | p_88), ((((**l_2634) = ((****l_2618) | 0x46B111D19A62F582LL)) > l_2699) ^ 0L)))) < 0x6806CDAB4019FC1BLL))))) != 255UL) & p_87) < (*p_84)) > 4294967289UL)), 4294967287UL))))
                { /* block id: 1382 */
                    int32_t l_2717 = 0xEB5C0F2CL;
                    return l_2717;
                }
                else
                { /* block id: 1384 */
                    struct S0 *l_2718 = &g_384;
                    int32_t l_2719 = 0xDCA46283L;
                    uint8_t *l_2727 = &g_57[0];
                    uint8_t l_2730 = 0x93L;
                    int32_t l_2751 = 0xF8AD4E4DL;
                    int32_t l_2752 = 1L;
                    int32_t l_2753 = 0x97F937F5L;
                    int32_t l_2754 = 2L;
                    int32_t l_2755 = (-1L);
                    int32_t l_2757 = 0L;
                    int32_t l_2758 = (-6L);
                    int32_t l_2759 = (-1L);
                    int32_t l_2761 = (-5L);
                    uint8_t l_2763 = 0xA9L;
                    (*g_693) = l_2718;
                    if (g_1908.f3)
                        goto lbl_2731;
lbl_2731:
                    (*g_2446) = (**g_693);
                    for (l_2694 = 0; (l_2694 > 26); ++l_2694)
                    { /* block id: 1393 */
                        const int8_t *l_2736 = (void*)0;
                        const int32_t l_2749 = 0xE80D50EBL;
                        int32_t l_2750 = 0x5482B49EL;
                        int32_t l_2760[9] = {0xCD9F30CEL,1L,1L,0xCD9F30CEL,1L,1L,0xCD9F30CEL,1L,1L};
                        struct S1 ****l_2773[7] = {&g_2771[1][0][2],&g_2771[1][0][2],&g_2771[1][0][2],&g_2771[1][0][2],&g_2771[1][0][2],&g_2771[1][0][2],&g_2771[1][0][2]};
                        int i;
                        l_2750 &= ((l_2734 != (((void*)0 != l_2735) , l_2736)) , (safe_add_func_uint8_t_u_u((((safe_sub_func_uint16_t_u_u(l_2609, ((0x3C2ED5490B76FB60LL != (g_59 ^= ((*l_2714) = (+(((safe_mul_func_uint8_t_u_u((1L | (((((((****g_2136) <= ((safe_mod_func_int16_t_s_s(l_2719, (-4L))) || l_2673)) , p_87) || (***l_2009)) , l_2714) != l_2746) == (-2L))), l_2747[1][2][1])) | 0x3A70FC6FL) && 0x65197E051DF73085LL))))) ^ l_2673))) & g_2748) , l_2749), 0x07L)));
                        l_2763--;
                        (****l_2618) |= (((safe_lshift_func_int16_t_s_u((l_2768 != (void*)0), 5)) , (g_33 , p_88)) & (safe_add_func_uint8_t_u_u(p_85, ((((g_2771[0][1][3] = g_2771[1][0][2]) == &g_2772[0][0][1]) , l_2756) | ((*p_84) , 0xC7L)))));
                    }
                    for (l_2703 = 0; (l_2703 <= 0); l_2703 += 1)
                    { /* block id: 1403 */
                        return l_2756;
                    }
                }
                g_1759[3].f3 &= (*g_1034);
            }
            else
            { /* block id: 1408 */
                return (****l_2618);
            }
            g_2639.f3 &= (((l_2776 = g_2774) == (((*g_2446) = (**g_693)) , (void*)0)) | ((0x9CD804A2L == (safe_lshift_func_int64_t_s_u((l_2629 |= 0x2968D4158D25C6EDLL), ((-1L) ^ (((((***g_773) = 2UL) , l_2779) == (((p_85 == (****l_2618)) > 1UL) , (void*)0)) , (****l_2618)))))) && (*p_84)));
            l_2671 ^= (safe_mod_func_int64_t_s_s((safe_mul_func_int8_t_s_s((safe_div_func_uint32_t_u_u((safe_sub_func_int8_t_s_s((((***l_2009) ^ (((*l_2789) = l_2788) == ((safe_sub_func_int16_t_s_s((safe_mod_func_uint16_t_u_u(((*g_237) &= (((l_2762 = p_85) != (safe_div_func_int16_t_s_s((((*p_84) ^ p_85) , (safe_mod_func_uint8_t_u_u((~(+(((*l_2800) = (((void*)0 != l_2635) | ((p_84 == (p_87 , (*l_2120))) , l_2627))) , l_2699))), 0xD6L))), 0x1310L))) | p_85)), (***l_2009))), (-5L))) , &g_2372))) | (*p_84)), 0x3AL)), p_87)), 0x69L)), 3L));
        }
        else
        { /* block id: 1421 */
            int8_t l_2803 = 0x8FL;
            int32_t l_2857[4][6] = {{2L,1L,2L,2L,1L,2L},{2L,1L,2L,2L,1L,2L},{2L,1L,2L,2L,1L,2L},{2L,1L,2L,2L,1L,2L}};
            int32_t l_2858 = 0x3B5993B8L;
            uint8_t *l_2870 = &g_521;
            uint8_t *l_2874 = (void*)0;
            uint8_t *l_2875[6][6] = {{&g_57[0],&g_57[0],&g_57[0],&g_57[0],&g_253,&g_253},{&g_57[1],&g_253,&g_253,&g_253,&g_57[2],&g_253},{&g_253,&g_57[1],&g_253,&l_2828,&g_57[2],&g_57[0]},{&g_253,&g_253,&g_57[1],&g_253,&g_253,&g_57[1]},{&g_57[0],&g_57[0],&g_57[0],&g_253,&g_253,&l_2828},{&g_253,&g_57[0],&g_57[0],&l_2828,&g_57[0],&g_57[0]}};
            int i, j;
            for (l_2288 = 0; (l_2288 == (-9)); --l_2288)
            { /* block id: 1424 */
                uint32_t *l_2827 = &l_2609;
                uint32_t *l_2829 = &l_2626;
                ++l_2804;
                (*g_1034) &= ((((-1L) || (((safe_lshift_func_int16_t_s_u((*g_1230), (safe_div_func_uint8_t_u_u(1UL, ((safe_sub_func_uint32_t_u_u(((-4L) != (safe_mod_func_int8_t_s_s(((**g_693) , (safe_rshift_func_uint16_t_u_u((safe_div_func_int8_t_s_s(((safe_rshift_func_uint32_t_u_s(((*l_2829) = (l_2803 == (safe_rshift_func_uint32_t_u_u(l_2691, ((((safe_div_func_uint64_t_u_u((l_2672 & (safe_lshift_func_uint32_t_u_u(((*l_2827) = 0UL), p_86))), 0xA6EFA51595A60FBDLL)) < l_2828) || 255UL) > p_88))))), p_88)) && (*p_84)), p_85)), 8))), p_88))), l_2672)) ^ 0xDC96L))))) <= p_88) | 5L)) , l_2477) == l_2477);
            }
            l_2672 ^= (safe_mul_func_int8_t_s_s((~(safe_sub_func_uint64_t_u_u(p_87, (safe_add_func_uint32_t_u_u(l_2706, (l_2280 == &g_1230)))))), ((+((safe_sub_func_int32_t_s_s((((((safe_lshift_func_int16_t_s_s((*g_1230), (safe_div_func_uint16_t_u_u(((l_2705 ^= (safe_mul_func_int8_t_s_s((*p_84), (safe_rshift_func_int8_t_s_u(((g_2856 = ((safe_lshift_func_uint64_t_u_s(p_88, (safe_mul_func_int64_t_s_s((safe_sub_func_uint8_t_u_u((!(l_2855 > p_87)), 0x81L)), (-1L))))) , (void*)0)) != &g_1733), 2))))) , 0x1088L), (*g_1230))))) == 0x3366L) , (*g_1230)) , l_2803) >= p_86), 5UL)) ^ (***l_2009))) <= p_85)));
            --l_2859;
            g_799[0][1] = ((((p_88 != (safe_lshift_func_uint16_t_u_u(0UL, (safe_mod_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_s((safe_mul_func_int8_t_s_s(0x35L, (--(*l_2870)))), 6)), (*p_84)))))) , (-8L)) == ((3UL <= (safe_unary_minus_func_uint8_t_u((g_57[0] ^= 1UL)))) != (+((**g_693) , ((safe_mod_func_int64_t_s_s(((safe_mul_func_int64_t_s_s((***l_2009), (***l_2009))) ^ 0UL), l_2857[0][5])) < l_2883))))) , (**l_2009));
        }
lbl_2993:
        for (g_215 = (-19); (g_215 < 13); g_215 = safe_add_func_uint64_t_u_u(g_215, 3))
        { /* block id: 1440 */
            int64_t *l_2889 = &g_2290[0][5];
            int64_t **l_2888 = &l_2889;
            int64_t **l_2890 = &l_2889;
            int64_t **l_2891 = &l_2889;
            int64_t **l_2892 = &l_2889;
            int64_t **l_2893 = &l_2889;
            int64_t **l_2894 = &l_2889;
            int64_t **l_2895 = &l_2889;
            int64_t **l_2896[6][8][4] = {{{&l_2889,&l_2889,&l_2889,(void*)0},{&l_2889,&l_2889,&l_2889,&l_2889},{(void*)0,&l_2889,(void*)0,(void*)0},{&l_2889,&l_2889,&l_2889,&l_2889},{&l_2889,&l_2889,(void*)0,&l_2889},{(void*)0,&l_2889,&l_2889,&l_2889},{&l_2889,&l_2889,&l_2889,&l_2889},{&l_2889,&l_2889,(void*)0,&l_2889}},{{&l_2889,&l_2889,&l_2889,&l_2889},{&l_2889,&l_2889,&l_2889,&l_2889},{(void*)0,&l_2889,&l_2889,(void*)0},{&l_2889,&l_2889,&l_2889,&l_2889},{&l_2889,&l_2889,&l_2889,(void*)0},{&l_2889,&l_2889,(void*)0,&l_2889},{&l_2889,(void*)0,&l_2889,&l_2889},{&l_2889,&l_2889,(void*)0,&l_2889}},{{&l_2889,&l_2889,&l_2889,&l_2889},{(void*)0,(void*)0,&l_2889,&l_2889},{(void*)0,&l_2889,(void*)0,&l_2889},{&l_2889,&l_2889,(void*)0,(void*)0},{&l_2889,&l_2889,&l_2889,(void*)0},{&l_2889,&l_2889,(void*)0,&l_2889},{&l_2889,(void*)0,(void*)0,&l_2889},{&l_2889,&l_2889,&l_2889,&l_2889}},{{&l_2889,(void*)0,(void*)0,&l_2889},{&l_2889,&l_2889,(void*)0,&l_2889},{&l_2889,&l_2889,&l_2889,&l_2889},{&l_2889,&l_2889,(void*)0,&l_2889},{&l_2889,(void*)0,&l_2889,&l_2889},{(void*)0,&l_2889,&l_2889,&l_2889},{(void*)0,(void*)0,&l_2889,&l_2889},{&l_2889,&l_2889,&l_2889,(void*)0}},{{&l_2889,&l_2889,&l_2889,(void*)0},{&l_2889,&l_2889,&l_2889,&l_2889},{&l_2889,&l_2889,&l_2889,&l_2889},{&l_2889,(void*)0,&l_2889,&l_2889},{&l_2889,&l_2889,&l_2889,&l_2889},{&l_2889,(void*)0,&l_2889,&l_2889},{&l_2889,(void*)0,&l_2889,&l_2889},{&l_2889,&l_2889,&l_2889,&l_2889}},{{&l_2889,&l_2889,&l_2889,&l_2889},{&l_2889,&l_2889,&l_2889,&l_2889},{(void*)0,&l_2889,&l_2889,&l_2889},{(void*)0,(void*)0,&l_2889,&l_2889},{&l_2889,&l_2889,(void*)0,(void*)0},{&l_2889,&l_2889,&l_2889,(void*)0},{&l_2889,&l_2889,(void*)0,(void*)0},{&l_2889,&l_2889,(void*)0,&l_2889}}};
            int64_t *** const l_2887[9][4] = {{&l_2890,(void*)0,&l_2888,&l_2893},{(void*)0,&l_2896[2][4][3],(void*)0,&l_2893},{&l_2888,(void*)0,&l_2890,(void*)0},{&l_2895,&l_2891,(void*)0,(void*)0},{&l_2894,&l_2894,(void*)0,(void*)0},{&l_2895,&l_2892,&l_2890,&l_2891},{&l_2888,&l_2890,(void*)0,&l_2890},{(void*)0,&l_2890,&l_2888,&l_2891},{&l_2890,&l_2892,&l_2895,(void*)0}};
            int64_t *** const *l_2886 = &l_2887[3][2];
            int64_t *****l_2901[5][3];
            int32_t l_2904[2];
            struct S0 ***l_2913 = (void*)0;
            int64_t l_2914[10][10][2] = {{{0x5C063DC20562A3BCLL,1L},{1L,0x543A251F31AC1A2ALL},{0xA766C46A638616FALL,0L},{1L,0x15E882120FC2177DLL},{1L,0L},{0L,0L},{(-1L),0L},{0L,0L},{1L,0x15E882120FC2177DLL},{1L,0L}},{{0xA766C46A638616FALL,0x543A251F31AC1A2ALL},{1L,1L},{0x5C063DC20562A3BCLL,0L},{(-4L),(-9L)},{0L,1L},{0xBC41A3AE44DF2AF6LL,0x75A3A4CF1355E2CFLL},{0x5C063DC20562A3BCLL,0L},{0x5C063DC20562A3BCLL,0x75A3A4CF1355E2CFLL},{0xBC41A3AE44DF2AF6LL,1L},{(-1L),(-9L)}},{{7L,0x543A251F31AC1A2ALL},{1L,1L},{0L,0x03CD82424E33493ALL},{0x5C063DC20562A3BCLL,0x975528B2C3A6C90ELL},{(-1L),0x75A3A4CF1355E2CFLL},{0L,0x2B6846B129EF448DLL},{(-1L),0x543A251F31AC1A2ALL},{(-2L),0x543A251F31AC1A2ALL},{(-1L),0x2B6846B129EF448DLL},{0L,0x75A3A4CF1355E2CFLL}},{{(-1L),0x975528B2C3A6C90ELL},{0x5C063DC20562A3BCLL,0x03CD82424E33493ALL},{0L,1L},{1L,0x543A251F31AC1A2ALL},{7L,(-9L)},{(-1L),1L},{0xBC41A3AE44DF2AF6LL,0x75A3A4CF1355E2CFLL},{0x5C063DC20562A3BCLL,0L},{0x5C063DC20562A3BCLL,0x75A3A4CF1355E2CFLL},{0xBC41A3AE44DF2AF6LL,1L}},{{(-1L),(-9L)},{7L,0x543A251F31AC1A2ALL},{1L,1L},{0L,0x03CD82424E33493ALL},{0x5C063DC20562A3BCLL,0x975528B2C3A6C90ELL},{(-1L),0x75A3A4CF1355E2CFLL},{0L,0x2B6846B129EF448DLL},{(-1L),0x543A251F31AC1A2ALL},{(-2L),0x543A251F31AC1A2ALL},{(-1L),0x2B6846B129EF448DLL}},{{0L,0x75A3A4CF1355E2CFLL},{(-1L),0x975528B2C3A6C90ELL},{0x5C063DC20562A3BCLL,0x03CD82424E33493ALL},{0L,1L},{1L,0x543A251F31AC1A2ALL},{7L,(-9L)},{(-1L),1L},{0xBC41A3AE44DF2AF6LL,0x75A3A4CF1355E2CFLL},{0x5C063DC20562A3BCLL,0L},{0x5C063DC20562A3BCLL,0x75A3A4CF1355E2CFLL}},{{0xBC41A3AE44DF2AF6LL,1L},{(-1L),(-9L)},{7L,0x543A251F31AC1A2ALL},{1L,1L},{0L,0x03CD82424E33493ALL},{0x5C063DC20562A3BCLL,0x975528B2C3A6C90ELL},{(-1L),0x75A3A4CF1355E2CFLL},{0L,0x2B6846B129EF448DLL},{(-1L),0x543A251F31AC1A2ALL},{(-2L),0x543A251F31AC1A2ALL}},{{(-1L),0x2B6846B129EF448DLL},{0L,0x75A3A4CF1355E2CFLL},{(-1L),0x975528B2C3A6C90ELL},{0x5C063DC20562A3BCLL,0x03CD82424E33493ALL},{0L,1L},{1L,0x543A251F31AC1A2ALL},{7L,(-9L)},{(-1L),1L},{0xBC41A3AE44DF2AF6LL,0x75A3A4CF1355E2CFLL},{0x5C063DC20562A3BCLL,0L}},{{0x5C063DC20562A3BCLL,0x75A3A4CF1355E2CFLL},{0xBC41A3AE44DF2AF6LL,1L},{(-1L),(-9L)},{7L,0x543A251F31AC1A2ALL},{1L,1L},{0L,0x03CD82424E33493ALL},{0x5C063DC20562A3BCLL,0x975528B2C3A6C90ELL},{(-1L),0x75A3A4CF1355E2CFLL},{0L,0x2B6846B129EF448DLL},{(-1L),0x543A251F31AC1A2ALL}},{{(-2L),0x543A251F31AC1A2ALL},{(-1L),0x2B6846B129EF448DLL},{0L,0x75A3A4CF1355E2CFLL},{(-1L),0x975528B2C3A6C90ELL},{0x5C063DC20562A3BCLL,0x03CD82424E33493ALL},{0L,1L},{1L,0x543A251F31AC1A2ALL},{7L,(-9L)},{(-1L),1L},{0xBC41A3AE44DF2AF6LL,0x75A3A4CF1355E2CFLL}}};
            int32_t l_2931 = (-1L);
            uint16_t ***l_2948 = &g_774[2];
            int32_t *l_2963 = &g_35;
            int i, j, k;
            for (i = 0; i < 5; i++)
            {
                for (j = 0; j < 3; j++)
                    l_2901[i][j] = &l_2897[3];
            }
            for (i = 0; i < 2; i++)
                l_2904[i] = 0xDB4892A8L;
        }
        for (l_2883 = 0; (l_2883 <= 0); l_2883 += 1)
        { /* block id: 1476 */
            int8_t l_2973 = 0L;
            for (p_87 = 1; (p_87 <= 7); p_87 += 1)
            { /* block id: 1479 */
                for (l_2700 = 7; (l_2700 >= 0); l_2700 -= 1)
                { /* block id: 1482 */
                    int i, j;
                    for (g_828 = 1; (g_828 <= 8); g_828 += 1)
                    { /* block id: 1485 */
                        int32_t *l_2966[1][2][8] = {{{(void*)0,(void*)0,&l_2699,&l_2699,(void*)0,(void*)0,&l_2628,(void*)0},{(void*)0,(void*)0,&l_2628,(void*)0,(void*)0,&l_2699,&l_2699,(void*)0}}};
                        int i, j, k;
                    }
                    if (g_2290[l_2883][(l_2883 + 4)])
                        break;
                }
            }
            if (g_914)
                goto lbl_2967;
            for (g_143 = 0; (g_143 >= 0); g_143 -= 1)
            { /* block id: 1497 */
                uint8_t *l_2968 = &l_2828;
                int i, j;
                (***l_2009) = g_2290[l_2883][(g_143 + 5)];
                l_2990 |= (((*l_2968) |= 4UL) >= ((((((safe_rshift_func_uint8_t_u_s((l_2917[0][5][0] , (safe_lshift_func_int32_t_s_s((((*g_1230) & l_2973) && (safe_div_func_int32_t_s_s((safe_mul_func_uint32_t_u_u(4294967294UL, ((l_2973 , p_87) ^ ((safe_sub_func_int32_t_s_s(((***l_2009) = (safe_rshift_func_uint16_t_u_u((safe_rshift_func_uint32_t_u_s(((safe_mul_func_int64_t_s_s((safe_lshift_func_uint16_t_u_u((((safe_div_func_uint32_t_u_u((3L == ((l_2701 | p_85) > 8UL)), l_2973)) && (*p_84)) == p_88), p_85)), g_2290[l_2883][(g_143 + 5)])) || 0x0205A6612F15792FLL), p_87)), (***l_2009)))), p_85)) || p_86)))), 2UL))), l_2973))), 7)) >= l_2973) < 4L) < (*p_84)) , 255UL) < g_2290[l_2883][(g_143 + 5)]));
                l_2706 |= (safe_mul_func_int64_t_s_s((g_2290[l_2883][(g_143 + 3)] = p_87), l_2973));
                if (g_1520)
                    goto lbl_2993;
            }
        }
        for (p_85 = 5; (p_85 >= 0); p_85 -= 1)
        { /* block id: 1509 */
            uint16_t l_2994 = 0x9608L;
            const struct S0 l_2999 = {15};
            const uint32_t * const l_3018[6] = {&l_2589,&l_2589,&l_2589,&l_2589,&l_2589,&l_2589};
            int32_t l_3020 = 0x6C3EC8FFL;
            int32_t l_3021[2][6] = {{0xEA53104FL,0L,0L,0xEA53104FL,(-7L),0xEA53104FL},{0xEA53104FL,(-7L),0xEA53104FL,0L,0L,0xEA53104FL}};
            int32_t l_3036 = (-6L);
            uint16_t l_3037 = 1UL;
            int i, j;
            if (l_2994)
                break;
            for (g_143 = 0; (g_143 <= 1); g_143 += 1)
            { /* block id: 1513 */
                uint8_t l_2995 = 0x49L;
                int32_t l_3026 = (-3L);
                for (l_2218 = 0; (l_2218 <= 5); l_2218 += 1)
                { /* block id: 1516 */
                    int32_t *l_3008 = &g_1109;
                    int32_t * const *l_3007 = &l_3008;
                    int64_t l_3015 = 0xEFFA251B305C3EC9LL;
                    int32_t l_3022 = 0x653AED81L;
                    int i, j;
                    for (g_828 = 1; (g_828 >= 0); g_828 -= 1)
                    { /* block id: 1519 */
                        int32_t l_2998 = (-9L);
                        int i, j;
                        ++l_2995;
                        if (l_2998)
                            break;
                        (*g_2446) = l_2999;
                    }
                    if (p_87)
                        goto lbl_2967;
                    if (((*g_1230) == ((!((((safe_add_func_int32_t_s_s(((***l_2009) = 0xF99014E7L), ((safe_mul_func_int32_t_s_s((safe_lshift_func_uint32_t_u_u(((((void*)0 == l_3007) , p_86) >= 0xBCD060D5L), 9)), ((safe_sub_func_uint64_t_u_u((safe_rshift_func_uint64_t_u_u(1UL, 6)), (safe_lshift_func_uint64_t_u_u((l_3015 >= (safe_mul_func_int8_t_s_s((1UL > l_3015), l_2995))), p_87)))) , (-1L)))) > 0x703A9E51L))) > l_2705) , l_3018[2]) != (***g_2136))) <= l_2932)))
                    { /* block id: 1526 */
                        l_3019 = &g_1678;
                        --l_3023;
                        if (p_86)
                            continue;
                    }
                    else
                    { /* block id: 1530 */
                        uint16_t l_3038 = 0x8305L;
                        l_3026 = 0xFD607FF4L;
                        (*g_1034) = (l_2671 &= (((***l_2009) > (((safe_sub_func_int64_t_s_s(0x87725A461F92074DLL, ((**l_2899) |= (+((7UL > (l_3020 , (-6L))) & (4294967288UL ^ ((safe_add_func_uint64_t_u_u(((safe_add_func_uint8_t_u_u(((safe_sub_func_uint32_t_u_u(((p_87 < ((*p_84) < l_3036)) == l_3037), l_2627)) , l_3038), 0x42L)) >= l_2917[0][1][0]), p_87)) , 4294967293UL))))))) , (void*)0) == (void*)0)) && p_86));
                    }
                    (***l_2009) ^= (safe_lshift_func_uint16_t_u_s(p_86, (*g_1230)));
                }
                for (g_33 = 0; (g_33 <= 1); g_33 += 1)
                { /* block id: 1540 */
                    uint32_t l_3041 = 18446744073709551606UL;
                    (*g_1034) = l_3041;
                }
            }
        }
    }
    else
    { /* block id: 1545 */
        uint64_t l_3042 = 0xF38D88F698344BBALL;
        uint32_t * const **l_3071 = (void*)0;
        uint32_t * const ***l_3070 = &l_3071;
        int32_t *l_3074 = &g_151[7][0];
        int32_t **l_3073 = &l_3074;
        int32_t ***l_3072 = &l_3073;
        int32_t l_3076 = 0xDB7F54C2L;
        int32_t l_3077 = 0x8A8E41DAL;
        --l_3042;
        l_3077 |= (((safe_sub_func_uint32_t_u_u((safe_sub_func_int32_t_s_s((((!((p_88 = (safe_sub_func_int16_t_s_s((-1L), ((safe_mod_func_int32_t_s_s((safe_rshift_func_int32_t_s_u((((++(*g_237)) < ((safe_sub_func_uint32_t_u_u((l_3076 = ((safe_div_func_int32_t_s_s(((safe_mod_func_int16_t_s_s(0x2169L, (safe_add_func_uint8_t_u_u(((safe_div_func_uint16_t_u_u((&g_1389 == (((safe_sub_func_uint64_t_u_u((p_88 & 1L), ((*g_2774) != l_3070))) , (*g_2608)) , l_3072)), 65535UL)) & g_3075), p_87)))) | 9L), p_87)) == l_3042)), p_86)) | (***l_2009))) || 0x0B65E5A9L), 8)), 0x1C4E5A26L)) , l_3042)))) <= p_85)) != p_86) || 255UL), 0x18C06257L)), 0x247D257AL)) == p_86) & p_85);
    }
    (***l_2009) &= (((*p_84) = (&l_2469 != (void*)0)) != ((*l_3078) = p_88));
    for (g_3075 = (-5); (g_3075 != (-15)); g_3075--)
    { /* block id: 1557 */
        uint8_t l_3083 = 1UL;
        uint8_t *l_3084 = &g_521;
        int64_t l_3100 = (-1L);
        const uint16_t **l_3109 = (void*)0;
        uint16_t l_3115 = 1UL;
        int32_t l_3119 = 0x426004B6L;
        int32_t l_3124 = 1L;
        int32_t l_3125[3][4][8] = {{{0xC0E850B3L,(-1L),0L,7L,(-9L),(-9L),7L,0L},{(-1L),(-1L),3L,0x0035978DL,0x3BC2DCCCL,(-1L),0xBA713252L,0xE8DB2279L},{(-7L),(-3L),(-9L),(-1L),0xC22CDAEFL,0xD6A6AA4CL,(-9L),0xE8DB2279L},{(-3L),0L,0x4328A59DL,0x0035978DL,0xC0E850B3L,0x0035978DL,0x4328A59DL,0L}},{{(-6L),3L,0xC0E850B3L,7L,(-1L),0xC0F28BD2L,0L,0xD6A6AA4CL},{(-9L),(-9L),0xE8DB2279L,0x4328A59DL,(-6L),0x82CBF780L,0L,0x3BC2DCCCL},{0xB7E15BDBL,0x4328A59DL,0xC0E850B3L,0xC0F28BD2L,0xC0F28BD2L,0xC0E850B3L,0x4328A59DL,0xB7E15BDBL},{0xC0F28BD2L,0xC0E850B3L,0x4328A59DL,0xB7E15BDBL,(-1L),7L,(-9L),(-7L)}},{{0x4328A59DL,0xE8DB2279L,(-9L),(-9L),0xB7E15BDBL,7L,0xBA713252L,0x0035978DL},{7L,0xC0E850B3L,3L,(-6L),3L,0xC0E850B3L,7L,(-1L)},{0x0035978DL,0x4328A59DL,0L,(-3L),0xBA713252L,0x82CBF780L,(-9L),(-1L)},{(-1L),(-9L),(-3L),(-7L),0xBA713252L,0xC0F28BD2L,(-6L),(-6L)}}};
        int16_t l_3157[6] = {0L,(-8L),0L,0L,(-8L),0L};
        int8_t l_3179[9][8] = {{0x1DL,0xD3L,0x9DL,0x2FL,0xC8L,0xC3L,0L,0xD8L},{0xC3L,0xD3L,0x15L,0xAAL,0xB3L,0x2FL,1L,(-3L)},{1L,0xDBL,0xC8L,0x5DL,(-4L),0x5DL,0xC8L,0xDBL},{(-1L),0x2FL,0x71L,(-4L),0xDDL,1L,(-1L),0x9DL},{0x5DL,0xDCL,0x2FL,0L,(-1L),0xAAL,(-1L),0x15L},{(-1L),0L,0x71L,1L,0xDCL,5L,0xC8L,0xC8L},{0xDCL,5L,0xC8L,0xC8L,5L,0xDCL,1L,0x71L},{0xDBL,(-3L),0x15L,(-1L),0xAAL,(-1L),0L,0x2FL},{(-9L),0x1DL,0x9DL,(-1L),1L,0xDDL,(-4L),0x71L}};
        union U2 **l_3200 = &g_960[7];
        int i, j, k;
    }
    return p_88;
}


/* ------------------------------------------ */
/* 
 * reads : g_946 g_947 g_34 g_35 g_524 g_525 g_8 g_596.f4 g_33 g_914 g_828 g_1034 g_596.f3 g_1520 g_1904 g_857 g_143 g_199 g_694 g_1908.f3 g_1230 g_1231 g_1960 g_773 g_774 g_237 g_187 g_521
 * writes: g_367 g_35 g_33 g_34 g_914 g_828 g_1520 g_1065 g_59 g_1904 g_143 g_384 g_131 g_194 g_435 g_926 g_1534 g_521 g_524
 */
static int8_t * func_89(uint64_t  p_90, int16_t  p_91, int32_t  p_92, int8_t * p_93, int8_t * p_94)
{ /* block id: 945 */
    int32_t *l_1857 = &g_143;
    int32_t *l_1858[2][3] = {{&g_35,(void*)0,(void*)0},{(void*)0,&g_35,(void*)0}};
    uint32_t l_1859 = 2UL;
    const uint8_t **l_1862 = (void*)0;
    const uint64_t ***l_1870 = (void*)0;
    const uint64_t ****l_1869 = &l_1870;
    int8_t *l_1874 = &g_1520;
    int32_t ***l_1897 = (void*)0;
    int16_t l_1902 = 0x1FA5L;
    int32_t l_1913 = 0x6EE83D17L;
    const int64_t l_1964 = (-3L);
    int i, j;
lbl_1873:
    l_1859--;
    if ((***g_946))
    { /* block id: 947 */
        uint64_t *l_1865 = (void*)0;
        uint64_t *l_1866 = (void*)0;
        uint64_t *l_1867 = &g_367;
        int32_t **l_1868 = &g_34;
        const uint64_t *****l_1871 = (void*)0;
        const uint64_t *****l_1872 = &l_1869;
        (***g_946) = (((p_92 , l_1862) != (void*)0) & ((*p_94) |= (safe_mul_func_uint64_t_u_u(((*l_1867) = (**g_524)), ((*p_93) > 8L)))));
        (*l_1868) = func_24(g_596.f4, (**g_946));
        (*l_1872) = l_1869;
        (*l_1868) = (void*)0;
    }
    else
    { /* block id: 954 */
        for (g_914 = 0; (g_914 <= 5); g_914 += 1)
        { /* block id: 957 */
            if (g_596.f4)
                goto lbl_1873;
            return l_1874;
        }
    }
    for (g_828 = 0; (g_828 >= (-4)); g_828 = safe_sub_func_uint64_t_u_u(g_828, 1))
    { /* block id: 964 */
        int8_t l_1884 = 0x8EL;
        int32_t l_1885 = (-8L);
        int32_t l_1910 = 0x0B1838F2L;
        int16_t l_1914 = 0x6912L;
        int32_t l_1915 = 0xED9367B6L;
        int32_t l_1916 = (-3L);
        uint64_t ***l_1927 = &g_524;
        uint64_t ****l_1926 = &l_1927;
        uint64_t *****l_1925[7] = {&l_1926,&l_1926,&l_1926,&l_1926,&l_1926,&l_1926,&l_1926};
        uint32_t *l_1961 = (void*)0;
        uint32_t *l_1962 = &g_194;
        int8_t l_1963 = (-1L);
        uint16_t l_1971 = 65531UL;
        int32_t * const * const *l_1988 = (void*)0;
        uint64_t **l_1996[9][7] = {{(void*)0,(void*)0,(void*)0,(void*)0,&g_525,(void*)0,(void*)0},{(void*)0,(void*)0,&g_525,&g_525,(void*)0,&g_525,&g_525},{(void*)0,(void*)0,(void*)0,(void*)0,&g_525,(void*)0,(void*)0},{(void*)0,(void*)0,&g_525,&g_525,(void*)0,&g_525,&g_525},{(void*)0,(void*)0,(void*)0,(void*)0,&g_525,(void*)0,(void*)0},{(void*)0,(void*)0,&g_525,&g_525,(void*)0,&g_525,&g_525},{(void*)0,(void*)0,(void*)0,(void*)0,&g_525,(void*)0,(void*)0},{(void*)0,(void*)0,&g_525,&g_525,(void*)0,&g_525,&g_525},{(void*)0,(void*)0,(void*)0,(void*)0,&g_525,(void*)0,(void*)0}};
        int i, j;
        for (l_1859 = 28; (l_1859 != 10); l_1859 = safe_sub_func_int16_t_s_s(l_1859, 2))
        { /* block id: 967 */
            const int16_t l_1883 = 0x206DL;
            uint32_t l_1898 = 18446744073709551614UL;
            int32_t l_1903 = (-9L);
            struct S1 *l_1907 = &g_1908;
            int32_t l_1911[10][8];
            struct S0 l_1921 = {2};
            int i, j;
            for (i = 0; i < 10; i++)
            {
                for (j = 0; j < 8; j++)
                    l_1911[i][j] = 0x5C74F078L;
            }
            for (g_1520 = 15; (g_1520 >= (-6)); g_1520 = safe_sub_func_int16_t_s_s(g_1520, 5))
            { /* block id: 970 */
                uint16_t l_1890[4];
                int16_t *l_1899 = &g_1065;
                struct S0 l_1900 = {21};
                int64_t *l_1901[9];
                int32_t l_1912 = 0xD0BDDC1DL;
                int i;
                for (i = 0; i < 4; i++)
                    l_1890[i] = 0x97A1L;
                for (i = 0; i < 9; i++)
                    l_1901[i] = &g_1700;
                (*g_1034) |= (1UL >= (p_91 , ((safe_sub_func_int32_t_s_s(l_1883, ((p_90 , p_91) , p_92))) < (((l_1885 = (l_1884 ^= 0xC75C3657L)) <= (safe_lshift_func_int64_t_s_u(((safe_lshift_func_int16_t_s_s(1L, (l_1890[2] >= 1UL))) || 1UL), p_92))) == p_90))));
                if ((0xF6A5D873L > ((l_1885 , (safe_lshift_func_uint64_t_u_s((safe_sub_func_uint32_t_u_u((p_91 & (g_596.f3 == g_1520)), (&g_947 == l_1897))), (g_59 = (((l_1885 && ((*l_1899) = l_1898)) , l_1900) , l_1884))))) != 0x8A2BAE6B8FB401DALL)))
                { /* block id: 976 */
                    return p_93;
                }
                else
                { /* block id: 978 */
                    uint32_t l_1917 = 1UL;
                    g_1904--;
                    (*l_1857) ^= (l_1907 != g_857);
                    for (l_1903 = 0; (l_1903 <= 1); l_1903 += 1)
                    { /* block id: 983 */
                        int8_t l_1909 = 0L;
                        uint16_t ****l_1920 = &g_802[5];
                        int i, j;
                        ++l_1917;
                        (*g_1034) &= ((void*)0 == l_1920);
                        if (g_199[l_1903][l_1903])
                            continue;
                        (*g_694) = l_1921;
                    }
                    (*g_1034) = ((safe_sub_func_uint32_t_u_u(p_91, 1L)) & (+(&g_1678 == l_1925[2])));
                }
            }
        }
        l_1916 = (+(safe_mod_func_uint8_t_u_u(g_1908.f3, (safe_add_func_int32_t_s_s((safe_add_func_uint8_t_u_u((safe_mod_func_uint64_t_u_u(p_90, (((safe_lshift_func_uint64_t_u_u((g_435 = ((p_91 > p_90) , (safe_mul_func_uint64_t_u_u((safe_rshift_func_uint16_t_u_s(0xE9E6L, (*g_1230))), ((safe_mul_func_uint32_t_u_u((((safe_mul_func_int32_t_s_s(((*g_1034) |= (p_92 = (safe_mul_func_uint16_t_u_u((safe_add_func_uint32_t_u_u((safe_sub_func_uint16_t_u_u((((safe_mul_func_uint32_t_u_u(((*l_1962) = ((((((((safe_rshift_func_uint32_t_u_s((((g_131[0] = (((~((l_1915 = 0x08324303E30140F2LL) <= ((l_1910 = ((safe_rshift_func_uint16_t_u_s((0L && l_1885), 6)) >= g_1960)) || p_91))) < (-6L)) ^ 0x043AL)) > p_91) >= 0x5AC270B892D7319BLL), 29)) , 0UL) | l_1884) ^ (*l_1857)) && 0x42L) || p_92) != 0xA3BBC46A48C8812DLL) > 4294967295UL)), l_1963)) ^ p_92) >= l_1885), p_92)), p_92)), (*l_1857))))), l_1964)) ^ 0L) == (-1L)), l_1914)) | p_91))))), 22)) || p_90) | p_91))), (*p_94))), (-1L))))));
        (*l_1857) = (-10L);
        if ((*l_1857))
        { /* block id: 1002 */
            return p_94;
        }
        else
        { /* block id: 1004 */
            int32_t l_1982 = 0L;
            uint32_t ****l_1987 = &g_1534;
            uint8_t *l_1989[2];
            int32_t l_1990 = (-5L);
            int i;
            for (i = 0; i < 2; i++)
                l_1989[i] = &g_57[0];
            for (p_92 = (-19); (p_92 > 16); p_92 = safe_add_func_int16_t_s_s(p_92, 8))
            { /* block id: 1007 */
                return p_94;
            }
            l_1990 = (p_92 = ((l_1915 = (l_1982 = (((safe_div_func_uint32_t_u_u(0xFC58BBCCL, (safe_lshift_func_int8_t_s_u(((l_1971--) || (safe_rshift_func_uint8_t_u_u(((p_90 , ((safe_add_func_uint64_t_u_u(0xF4B937AD033CCF05LL, (+(!((((((((g_926 = (l_1982 | (&g_160[0] == (void*)0))) , (p_90 & (safe_mod_func_int64_t_s_s((p_91 != ((safe_lshift_func_uint8_t_u_s((((*l_1987) = (void*)0) == &g_1535), 6)) & (-1L))), l_1916)))) || (-5L)) ^ p_91) ^ p_91) ^ p_92) & p_91) & p_91))))) , l_1988)) == (void*)0), 0))), 6)))) > (***g_773)) | (*g_525)))) < (*p_94)));
            for (g_521 = 22; (g_521 != 38); g_521 = safe_add_func_int16_t_s_s(g_521, 8))
            { /* block id: 1019 */
                uint8_t l_1993 = 5UL;
                l_1993++;
            }
            for (g_521 = 0; (g_521 <= 5); g_521 += 1)
            { /* block id: 1024 */
                int8_t *l_1997 = &g_828;
                (**l_1926) = l_1996[1][4];
                return l_1997;
            }
        }
    }
    return l_1874;
}


/* ------------------------------------------ */
/* 
 * reads : g_35 g_34 g_525 g_8 g_199 g_187 g_598.f5 g_33 g_598.f3 g_253 g_349 g_693 g_694 g_384 g_237 g_213 g_784 g_521 g_215 g_161 g_596.f3 g_828 g_36 g_524 g_857 g_151 g_598.f4 g_367 g_858.f3 g_946 g_926 g_435 g_1700 g_194 g_1678 g_799
 * writes: g_35 g_161 g_440 g_33 g_34 g_199 g_772 g_187 g_213 g_253 g_194 g_367 g_799 g_384 g_800 g_215 g_596.f3 g_598.f3 g_828 g_858.f3 g_521 g_914 g_926 g_946 g_131 g_960 g_435 g_1700
 */
static int16_t  func_107(uint64_t  p_108, uint16_t  p_109, uint8_t * p_110, const int32_t  p_111)
{ /* block id: 314 */
    uint32_t l_736 = 0UL;
    uint32_t l_755 = 9UL;
    int32_t l_767[6] = {0x07B2A970L,0x07B2A970L,9L,0x07B2A970L,0x07B2A970L,9L};
    int32_t *l_779 = &g_199[0][5];
    int32_t l_796 = 0xC8AF70EDL;
    struct S0 l_832 = {39};
    int16_t l_888[1];
    int32_t l_920[10];
    int32_t **l_949 = &l_779;
    int32_t ***l_948 = &l_949;
    uint16_t *****l_953 = &g_772[2][1];
    const uint8_t l_955 = 0x80L;
    uint32_t *l_992 = &l_736;
    int32_t l_997 = 0L;
    int64_t l_998 = 0x290CCF0C13E13C7ELL;
    union U2 *l_1001 = &g_1002;
    const uint16_t *l_1013 = &g_440;
    const uint16_t **l_1012 = &l_1013;
    const union U2 *l_1019 = &g_1020;
    int16_t l_1111[6] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
    int32_t *l_1113 = &g_143;
    uint16_t l_1156[4][2];
    const uint32_t l_1209 = 0x76C0F01FL;
    int8_t l_1213[10] = {1L,1L,4L,1L,1L,1L,1L,4L,1L,1L};
    uint64_t *l_1343 = &g_131[0];
    int32_t **l_1367[5][1];
    int32_t l_1485 = 0xAE497F17L;
    int16_t l_1486[8][10] = {{1L,1L,0x6115L,(-1L),0x927AL,0xEDD3L,0xEDD3L,0x927AL,(-1L),0x6115L},{0xEDD3L,0xEDD3L,0x927AL,(-1L),0x6115L,1L,1L,0x1BBEL,1L,1L},{0x973DL,0x927AL,0xB265L,0x927AL,0x973DL,0x51E3L,1L,0xEDD3L,(-1L),(-1L)},{(-1L),0xEDD3L,0x1615L,1L,1L,0x1615L,0xEDD3L,(-1L),0xB265L,(-1L)},{0x1BBEL,1L,0xEDD3L,0L,0x973DL,1L,0x973DL,0L,0xEDD3L,1L},{0x1615L,0x51E3L,0xEDD3L,0x973DL,0x6115L,0L,(-1L),(-1L),0L,0x6115L},{(-1L),0x1615L,0x1615L,(-1L),0x927AL,0L,0x1BBEL,0xEDD3L,0x6115L,0xEDD3L},{0x1615L,1L,0xB265L,0xEDD3L,0xB265L,1L,0x1615L,0x1BBEL,0x6115L,0x51E3L}};
    int32_t l_1499[1];
    int8_t *l_1511 = (void*)0;
    int32_t ***l_1514 = &l_1367[2][0];
    struct S0 *l_1582[4][7] = {{&l_832,&l_832,&g_384,&l_832,&l_832,&g_384,&g_384},{&l_832,(void*)0,&g_384,(void*)0,&l_832,(void*)0,(void*)0},{&l_832,&g_384,&g_384,&g_384,&g_384,&g_384,&g_384},{(void*)0,&l_832,&g_384,&l_832,(void*)0,&g_384,&g_384}};
    uint32_t l_1709 = 1UL;
    uint64_t ***l_1716 = (void*)0;
    uint8_t l_1779 = 0xB5L;
    uint64_t l_1852[7] = {18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL};
    int i, j;
    for (i = 0; i < 1; i++)
        l_888[i] = 0xE9B1L;
    for (i = 0; i < 10; i++)
        l_920[i] = 8L;
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 2; j++)
            l_1156[i][j] = 3UL;
    }
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 1; j++)
            l_1367[i][j] = &l_779;
    }
    for (i = 0; i < 1; i++)
        l_1499[i] = (-1L);
    for (g_35 = 0; (g_35 != (-24)); g_35 = safe_sub_func_int8_t_s_s(g_35, 3))
    { /* block id: 317 */
        uint8_t l_739 = 0xFBL;
        int32_t l_762 = 0L;
        uint16_t **l_770 = &g_237;
        uint16_t ***l_769 = &l_770;
        uint16_t ****l_768[5][4][10] = {{{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769}},{{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769}},{{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769}},{{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769}},{{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769},{&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769,&l_769}}};
        int32_t l_778 = (-1L);
        int64_t l_788 = 0x9B3EC163AFB673E6LL;
        uint16_t **** const *l_803 = &l_768[4][2][8];
        struct S0 l_824 = {23};
        uint64_t l_860 = 0x2E269A17F6300D2FLL;
        const struct S0 *l_867[10] = {&l_824,&l_832,&l_832,&l_824,&l_832,&l_832,&l_824,&l_832,&l_832,&l_824};
        const struct S0 **l_866 = &l_867[7];
        int8_t *l_881 = &g_161;
        int32_t l_917 = 0xE6EF898EL;
        int32_t l_918 = 1L;
        int32_t l_919[9][9][3] = {{{1L,4L,(-1L)},{5L,0L,0x2B8AF85DL},{1L,1L,0x693306F2L},{9L,0L,0x7DC2C7E3L},{0xCC1FA3BFL,(-1L),0xCC1FA3BFL},{0x9D5946B3L,0xB2CC92ADL,0L},{5L,0xBA777266L,1L},{(-1L),0L,0L},{(-1L),5L,1L}},{{(-1L),(-1L),(-2L)},{5L,1L,5L},{0x9D5946B3L,0x861FBD62L,0x1AA13BA4L},{0xCC1FA3BFL,1L,0L},{9L,0x510ADDF0L,0xADA58382L},{1L,0x9AA43380L,0x250397F6L},{5L,0xADA58382L,0x789C1E0DL},{1L,0xE49AFC94L,0x5FDF8A2FL},{0x7DC2C7E3L,0x51B9FD79L,0L}},{{(-1L),5L,5L},{0x789C1E0DL,0L,0xAC7507D2L},{0xE6AB50A1L,0x250397F6L,1L},{0L,0x36BD596BL,(-1L)},{0xE49AFC94L,0xD45FB7F8L,0x475470BDL},{(-10L),0x36BD596BL,(-4L)},{0L,0x250397F6L,9L},{(-2L),0L,0x1FA67916L},{(-1L),5L,6L}},{{0xEEDAB830L,0x51B9FD79L,0xB2CC92ADL},{9L,0xE49AFC94L,1L},{0x04C0CE81L,0xADA58382L,0xFD8FB476L},{(-1L),0x9AA43380L,0xDBDF84F6L},{0x51B9FD79L,0x510ADDF0L,5L},{0xDBDF84F6L,1L,6L},{0x861FBD62L,0x861FBD62L,(-7L)},{0xD45FB7F8L,1L,1L},{0L,(-1L),9L}},{{0x29611924L,5L,0xE49AFC94L},{0x891B315FL,0L,9L},{6L,0xBA777266L,1L},{0xACCDDDA5L,0xB2CC92ADL,(-7L)},{0x250397F6L,(-1L),6L},{0x6723873FL,0L,5L},{6L,1L,0xDBDF84F6L},{(-4L),0L,0xFD8FB476L},{0xA5295EB4L,4L,1L}},{{4L,(-1L),0xB2CC92ADL},{0L,0x475470BDL,6L},{0x1FA67916L,0x04C0CE81L,0x1FA67916L},{0x9AA43380L,0x693306F2L,9L},{0x1AA13BA4L,0L,(-4L)},{1L,1L,1L},{0xA8E77251L,0xACCDDDA5L,0xADA58382L},{5L,0xD45FB7F8L,0L},{(-3L),5L,0xACCDDDA5L}},{{5L,0x8E7DECBBL,0x7E4A10ABL},{0xB2CC92ADL,0L,(-1L)},{1L,0xBA777266L,6L},{0L,0xAC7507D2L,0x7DC2C7E3L},{0x9AA43380L,6L,6L},{0x891B315FL,0xC2F9DA00L,0L},{0L,0xCC1FA3BFL,1L},{0xEEDAB830L,(-3L),(-3L)},{6L,(-1L),0xE6AB50A1L}},{{0xB1B65C21L,0x7DC2C7E3L,9L},{(-1L),0x250397F6L,0x5FDF8A2FL},{0xC2F9DA00L,(-1L),0x7554CE80L},{9L,0x250397F6L,0xE49AFC94L},{(-1L),0x7DC2C7E3L,0L},{1L,(-1L),0x693306F2L},{0x510ADDF0L,(-3L),0L},{0x70CB0B22L,0xCC1FA3BFL,1L},{0x1FA67916L,0xC2F9DA00L,0L}},{{(-1L),6L,0L},{0x6723873FL,0xAC7507D2L,0x155900D3L},{0xCC1FA3BFL,0xBA777266L,0x9AA43380L},{0x155900D3L,0L,0x0FB80DEEL},{0x8E7DECBBL,0x8E7DECBBL,1L},{(-1L),5L,(-2L)},{1L,0xD45FB7F8L,1L},{0x51B9FD79L,0xACCDDDA5L,0xC2F9DA00L},{(-6L),1L,1L}}};
        uint16_t l_921[5];
        int32_t *l_932[6][8][5] = {{{&g_914,&g_914,&g_35,&l_767[4],&g_35},{(void*)0,&l_767[5],&l_767[1],(void*)0,&g_35},{&g_914,&l_767[1],&l_767[2],(void*)0,&g_35},{&l_918,&g_143,&g_35,(void*)0,&l_762},{(void*)0,&g_914,&g_35,&g_914,&l_767[1]},{&l_767[1],(void*)0,&l_767[2],&l_917,(void*)0},{&l_767[1],&g_914,&l_767[1],(void*)0,&l_762},{&l_767[1],&l_918,&g_35,(void*)0,&g_35}},{{(void*)0,(void*)0,&g_199[0][5],(void*)0,&l_767[5]},{&l_918,&l_767[1],&g_199[0][8],(void*)0,&g_35},{&g_914,&l_767[1],&g_35,&l_917,&g_35},{(void*)0,&l_767[1],&l_917,&g_914,(void*)0},{&g_914,(void*)0,&g_199[0][8],(void*)0,(void*)0},{&g_143,&l_918,&l_767[1],(void*)0,&g_35},{&l_767[1],&g_914,(void*)0,(void*)0,&g_35},{&l_767[5],(void*)0,&l_767[1],&l_767[4],&l_767[5]}},{{&g_914,&g_914,&g_199[0][8],(void*)0,&g_35},{&g_914,&g_143,&l_917,&l_917,&l_762},{&l_767[5],&l_767[1],&g_35,&l_767[1],(void*)0},{&l_767[1],&l_767[5],&g_199[0][8],&l_917,(void*)0},{&g_35,&g_199[0][8],(void*)0,(void*)0,&l_918},{&l_767[2],&g_199[0][8],(void*)0,(void*)0,&l_762},{&g_35,(void*)0,(void*)0,&l_919[7][1][1],(void*)0},{&g_199[0][8],&g_35,&l_778,(void*)0,&l_762}},{{&l_767[2],&g_35,&l_767[1],(void*)0,&l_918},{&g_35,&l_767[2],&l_767[1],&l_918,(void*)0},{&g_35,&g_35,&l_778,(void*)0,&l_918},{&l_917,&g_199[0][8],(void*)0,&l_767[1],&l_918},{&g_35,&l_767[2],(void*)0,&l_919[7][1][1],(void*)0},{&g_35,&g_35,(void*)0,&l_919[7][1][1],&g_35},{&l_767[2],&g_35,&g_199[0][5],&l_767[1],&l_762},{&g_199[0][8],&l_917,&l_767[1],(void*)0,&g_914}},{{&g_35,&g_35,&l_767[5],&l_918,&l_918},{&l_767[2],&g_35,&g_199[0][5],(void*)0,&l_918},{&g_35,&l_767[2],(void*)0,(void*)0,&g_914},{&g_35,&g_199[0][8],(void*)0,&l_919[7][1][1],&l_762},{(void*)0,&g_35,(void*)0,(void*)0,&g_35},{&g_199[0][8],&l_767[2],&g_199[0][5],(void*)0,(void*)0},{&g_199[0][8],&g_35,&l_767[5],(void*)0,&l_918},{(void*)0,&g_35,&l_767[1],&g_199[1][8],&l_918}},{{&g_35,(void*)0,&g_199[0][5],(void*)0,(void*)0},{&g_35,&g_199[0][8],(void*)0,(void*)0,&l_918},{&l_767[2],&g_199[0][8],(void*)0,(void*)0,&l_762},{&g_35,(void*)0,(void*)0,&l_919[7][1][1],(void*)0},{&g_199[0][8],&g_35,&l_778,(void*)0,&l_762},{&l_767[2],&g_35,&l_767[1],(void*)0,&l_918},{&g_35,&l_767[2],&l_767[1],&l_918,(void*)0},{&g_35,&g_35,&l_778,(void*)0,&l_918}}};
        uint64_t *l_950 = &g_131[0];
        uint16_t *****l_954 = &l_768[1][3][5];
        uint32_t *l_956 = &g_194;
        int32_t **l_957 = &l_932[1][6][3];
        int i, j, k;
        for (i = 0; i < 5; i++)
            l_921[i] = 0x4463L;
        if ((*g_34))
        { /* block id: 318 */
            int32_t *l_735[8] = {&g_199[0][5],(void*)0,&g_199[0][5],(void*)0,&g_199[0][5],(void*)0,&g_199[0][5],(void*)0};
            int i;
            l_736 &= (-1L);
        }
        else
        { /* block id: 320 */
            uint32_t l_748 = 0xCC926D62L;
            int64_t l_753 = 0x02114792DA3D276FLL;
            int32_t **l_754 = &g_34;
            uint32_t l_817 = 0xB78D78CFL;
            int32_t l_872 = 7L;
            uint16_t *l_883 = (void*)0;
            int32_t *l_916[1][9] = {{&g_914,&l_767[3],&g_914,&l_767[3],&g_914,&l_767[3],&g_914,&l_767[3],&g_914}};
            int i, j;
            for (g_161 = 2; (g_161 >= (-2)); g_161 = safe_sub_func_uint32_t_u_u(g_161, 6))
            { /* block id: 323 */
                return l_739;
            }
            if (((safe_mod_func_int32_t_s_s((*g_34), (safe_sub_func_uint32_t_u_u((((p_108 == (((safe_lshift_func_uint32_t_u_u((safe_rshift_func_uint16_t_u_u(l_748, 3)), 11)) | ((safe_mul_func_uint16_t_u_u((p_108 >= ((safe_lshift_func_uint64_t_u_u((p_111 , 18446744073709551608UL), 60)) | ((l_753 > (l_754 == &g_34)) > (**l_754)))), p_108)) > (*g_525))) ^ l_755)) || p_111) >= (**l_754)), l_739)))) > p_111))
            { /* block id: 326 */
                l_762 = (safe_add_func_int8_t_s_s((safe_lshift_func_int16_t_s_s(g_199[0][5], 11)), (safe_lshift_func_uint64_t_u_s(18446744073709551615UL, 17))));
            }
            else
            { /* block id: 328 */
                int32_t * const l_763 = &g_199[0][5];
                int64_t *l_780[2];
                uint32_t *l_793 = &g_194;
                uint8_t *l_794 = &l_739;
                uint64_t *l_795 = &g_367;
                uint64_t *l_812 = &g_131[0];
                const uint8_t l_889 = 0x43L;
                uint32_t l_915[3];
                int i;
                for (i = 0; i < 2; i++)
                    l_780[i] = &g_59;
                for (i = 0; i < 3; i++)
                    l_915[i] = 18446744073709551615UL;
                for (l_739 = 0; (l_739 <= 0); l_739 += 1)
                { /* block id: 331 */
                    int32_t *l_766 = &l_762;
                    for (g_440 = 0; (g_440 <= 5); g_440 += 1)
                    { /* block id: 334 */
                        int i;
                        return g_187[l_739];
                    }
                    for (l_755 = 1; (l_755 <= 5); l_755 += 1)
                    { /* block id: 339 */
                        int32_t *l_765[3][8];
                        int32_t **l_764 = &l_765[2][2];
                        int i, j;
                        for (i = 0; i < 3; i++)
                        {
                            for (j = 0; j < 8; j++)
                                l_765[i][j] = &g_199[1][5];
                        }
                        (*l_764) = ((*l_754) = func_24(g_598.f5, l_763));
                        l_766 = &g_35;
                        (*l_763) |= l_755;
                    }
                    for (g_440 = 0; (g_440 <= 0); g_440 += 1)
                    { /* block id: 347 */
                        uint16_t *****l_771[5];
                        int i;
                        for (i = 0; i < 5; i++)
                            l_771[i] = (void*)0;
                        l_767[1] = p_111;
                        l_779 = ((*l_754) = func_24(g_598.f3, func_24(((*p_110) , ((g_349 != ((**g_693) , (g_772[2][1] = l_768[0][2][5]))) <= (l_778 &= ((***l_769) &= (p_108 || ((!((8L || (safe_div_func_uint32_t_u_u((*l_766), ((*l_766) && p_111)))) > 0xFB10955BL)) < (*l_763))))))), &g_199[1][6])));
                    }
                }
                if ((((g_213 ^= p_111) , (safe_mod_func_int64_t_s_s(((~(-1L)) & ((*l_763) ^= ((g_784[0] != &g_785) | (((0x0C020424L == (((*l_795) = (safe_rshift_func_int8_t_s_u((l_788 < ((*p_110) = 0xCCL)), ((*l_794) = (safe_mul_func_uint32_t_u_u(9UL, ((((((*l_793) = (((safe_mod_func_int64_t_s_s(g_384.f0, 0x2A6BFE889ACEA232LL)) ^ 0x8D268A4CL) , g_521)) == p_109) == 7L) < 0x95784320228DEF0CLL) <= 0xD2L))))))) && 1L)) , 0xE4FEBED2L) , l_796)))), 18446744073709551610UL))) ^ (-1L)))
                { /* block id: 362 */
                    const int32_t *l_798[8][3][2] = {{{&l_767[1],&l_767[1]},{&l_767[1],&g_35},{&l_767[1],&l_767[1]}},{{&l_767[1],&g_35},{&l_767[1],&l_767[1]},{&l_767[1],&g_35}},{{&l_767[1],&l_767[1]},{&l_767[1],&g_35},{&l_767[1],&l_767[1]}},{{&l_767[1],&g_35},{&l_767[1],&l_767[1]},{&l_767[1],&g_35}},{{&l_767[1],&l_767[1]},{&l_767[1],&g_35},{&l_767[1],&l_767[1]}},{{&l_767[1],&g_35},{&l_767[1],&l_767[1]},{&l_767[1],&g_35}},{{&l_767[1],&l_767[1]},{&l_767[1],&g_35},{&l_767[1],&l_767[1]}},{{&l_767[1],&g_35},{&l_767[1],&l_767[1]},{&l_767[1],&g_35}}};
                    const int32_t **l_797[7];
                    int i, j, k;
                    for (i = 0; i < 7; i++)
                        l_797[i] = &l_798[6][1][1];
                    g_799[0][1] = &p_111;
                }
                else
                { /* block id: 364 */
                    uint16_t ****l_825 = &g_802[6];
                    (**g_693) = (*g_694);
                    l_803 = (g_800[0] = &l_768[0][2][5]);
                    for (p_108 = 0; (p_108 <= 3); p_108 += 1)
                    { /* block id: 370 */
                        uint64_t **l_813[2][9] = {{&g_525,&g_525,&l_812,&l_812,&g_525,&g_525,&l_812,&l_812,&g_525},{&l_812,&g_525,&l_812,&g_525,&l_812,&g_525,&l_812,&g_525,&l_812}};
                        int8_t *l_814 = &g_161;
                        int16_t *l_815 = &g_215;
                        uint16_t ***l_816 = (void*)0;
                        int32_t * const *l_823 = &l_763;
                        int32_t * const **l_822 = &l_823;
                        int i, j;
                        g_596.f3 |= ((((((*g_34) >= (safe_sub_func_int8_t_s_s((safe_mul_func_uint64_t_u_u((safe_rshift_func_int16_t_s_u(((safe_lshift_func_uint8_t_u_s(((void*)0 != l_812), ((*l_814) = (&g_525 != l_813[0][5])))) && (((*l_815) &= 1L) >= (((*l_793) = (((void*)0 == l_816) || (((l_767[p_108] = (*g_34)) && g_161) || l_767[p_108]))) , p_109))), l_817)), g_199[0][5])), 0x14L))) <= l_739) || (-3L)) <= 0x7B18C377A9872B7DLL) , p_111);
                        if ((*g_34))
                            break;
                        if ((*l_779))
                            break;
                        (*l_754) = func_24((safe_add_func_uint8_t_u_u((safe_add_func_uint8_t_u_u(((((0L <= ((((*l_822) = &g_34) != (void*)0) != ((*l_815) = ((*l_803) != (l_825 = (l_824 , &g_802[4])))))) <= p_111) && ((safe_rshift_func_int16_t_s_s((((*l_754) = func_24((g_828 | (safe_sub_func_uint16_t_u_u((!((*l_793) = (l_832 , g_33))), l_778))), &l_762)) == &p_111), 12)) , (*g_525))) , g_36), p_109)), p_108)), &l_762);
                    }
                }
                if (p_109)
                { /* block id: 386 */
                    for (l_778 = 2; (l_778 >= 0); l_778 -= 1)
                    { /* block id: 389 */
                        struct S0 l_840 = {2};
                        int32_t *l_847[7][5] = {{&g_199[0][6],&l_767[3],&l_767[3],&g_199[0][6],&g_199[0][6]},{&l_767[5],&l_762,&l_767[5],&l_762,&l_767[5]},{&g_199[0][6],&g_199[0][6],&l_767[3],&l_767[3],&g_199[0][6]},{&l_767[1],&l_762,&l_767[1],&l_762,&l_767[1]},{&g_199[0][6],&l_767[3],&l_767[3],&g_199[0][6],&g_199[0][6]},{&l_767[5],&l_762,&l_767[5],&l_762,&l_767[5]},{&g_199[0][6],&g_199[0][6],&l_767[3],&l_767[3],&g_199[0][6]}};
                        int i, j;
                        (*l_763) = ((safe_lshift_func_uint16_t_u_s((safe_div_func_uint64_t_u_u((safe_div_func_uint64_t_u_u((**g_524), (*g_525))), ((+l_778) && ((((*g_694) , 0xDF39A28CL) | (4294967288UL == ((l_840 , ((safe_lshift_func_int8_t_s_u((*l_779), 1)) != (safe_mod_func_int64_t_s_s(((safe_sub_func_uint64_t_u_u(0xE835B6297055115FLL, (*g_525))) >= p_109), 1L)))) ^ l_762))) >= p_111)))), g_8)) < 0xED6F3641B011954FLL);
                        (*l_763) ^= (-5L);
                        g_598.f3 |= ((*l_779) <= p_111);
                    }
                }
                else
                { /* block id: 394 */
                    int32_t *l_848[9][6][1] = {{{&g_143},{&l_778},{&l_767[1]},{&l_767[1]},{&l_778},{&g_143}},{{&g_35},{(void*)0},{&l_767[1]},{&g_35},{&l_762},{&l_778}},{{(void*)0},{&l_778},{&l_762},{&g_35},{&l_767[1]},{(void*)0}},{{&g_35},{&g_143},{&l_778},{&l_767[1]},{&l_767[1]},{&l_778}},{{&g_143},{&g_35},{(void*)0},{&l_767[1]},{&g_35},{&l_762}},{{&l_778},{(void*)0},{&l_778},{&l_762},{&g_35},{&l_767[1]}},{{(void*)0},{&g_35},{&g_143},{&l_778},{&l_767[1]},{&l_767[1]}},{{&l_778},{&g_143},{&g_35},{(void*)0},{&l_767[1]},{&g_35}},{{&l_762},{&l_778},{(void*)0},{&l_778},{&l_762},{&g_35}}};
                    int8_t *l_861 = (void*)0;
                    int8_t *l_862 = &g_828;
                    int32_t *l_871[5];
                    uint16_t *l_882 = &g_187[2];
                    uint16_t l_890 = 0x392BL;
                    int i, j, k;
                    for (i = 0; i < 5; i++)
                        l_871[i] = (void*)0;
                    l_767[1] ^= ((*l_763) = (&g_143 == (void*)0));
                    (*l_754) = func_24((((*l_793) = l_788) , (safe_add_func_uint8_t_u_u((*l_763), ((--(*g_237)) > 0x568FL)))), &l_762);
                    (*l_763) = (g_596.f3 , (((*l_862) = (safe_add_func_uint8_t_u_u(((safe_sub_func_int32_t_s_s((l_767[1] = (*g_34)), (((void*)0 == g_857) < (((+((**g_524) | g_384.f0)) < (l_778 ^= p_108)) > l_860)))) < (p_111 && (*l_779))), 0x4FL))) <= (**l_754)));
                    if ((((((**l_754) , g_187[0]) < (g_151[3][0] ^ 255UL)) ^ p_108) <= (safe_sub_func_int16_t_s_s((((((l_778 ^= (((p_109 &= ((+(l_866 == &g_694)) != 0xEDL)) != (safe_sub_func_uint64_t_u_u((((+(g_213 = 0xE31A7BCFE06B0E00LL)) & p_108) || (**g_524)), 0xB9386881608217D0LL))) | (*p_110))) , 0xCBL) > 7L) != (-9L)) , g_213), (*l_779)))))
                    { /* block id: 407 */
                        int32_t * const *l_874 = &l_779;
                        int32_t * const **l_873 = &l_874;
                        int32_t l_891 = 0x3E38D253L;
                        (*l_763) ^= (l_872 = (&g_160[5] == &g_160[3]));
                        (*l_873) = (void*)0;
                        if ((*g_34))
                            break;
                        l_891 |= ((((*p_110) |= (safe_mod_func_int16_t_s_s(((safe_sub_func_uint16_t_u_u((safe_add_func_int8_t_s_s(((*l_881) = (((void*)0 != l_881) == (*l_763))), (((g_858.f3 = (((((((l_883 = l_882) != (void*)0) , (p_109 && ((safe_mod_func_int64_t_s_s(g_598.f4, (l_888[0] ^ l_889))) == 0UL))) , p_109) , &g_524) != (void*)0) , 0x8678F2A1L)) == l_890) | l_824.f0))), 0x1F22L)) , p_109), 0x02A1L))) > 0UL) ^ p_109);
                    }
                    else
                    { /* block id: 417 */
                        int16_t *l_900[5][4] = {{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}};
                        uint16_t **l_909 = &l_883;
                        int i, j;
                        (*l_763) = (l_762 ^= ((safe_add_func_int32_t_s_s(((((--g_521) || (((safe_lshift_func_uint8_t_u_u((p_111 <= (g_215 = g_213)), (((safe_lshift_func_int64_t_s_s((**l_754), 32)) <= (safe_sub_func_uint16_t_u_u(l_788, (g_914 = ((safe_add_func_uint16_t_u_u((safe_sub_func_int8_t_s_s(((void*)0 == l_909), 0xFAL)), p_111)) && ((((safe_sub_func_uint8_t_u_u((safe_lshift_func_int8_t_s_u((p_109 | l_778), g_367)), (*l_779))) & 0L) , (*l_763)) > 8L)))))) || (*l_779)))) & (**l_754)) >= p_108)) , g_367) != l_915[0]), p_111)) != 0xAE51A9FA1A770123LL));
                        if (l_824.f0)
                            break;
                        if ((*g_34))
                            break;
                    }
                }
            }
            ++l_921[2];
            for (l_918 = 11; (l_918 >= 8); l_918--)
            { /* block id: 431 */
                uint64_t l_927 = 18446744073709551615UL;
                for (g_194 = 3; (g_194 <= 9); g_194 += 1)
                { /* block id: 434 */
                    if (p_108)
                        break;
                }
                --l_927;
                return g_199[0][5];
            }
        }
        for (g_926 = 0; (g_926 > 27); g_926 = safe_add_func_int8_t_s_s(g_926, 2))
        { /* block id: 443 */
            return l_824.f0;
        }
        g_858.f3 ^= p_109;
        g_799[0][1] = ((*l_957) = ((*l_949) = (((((*l_956) = (safe_add_func_uint32_t_u_u((((p_108 , (0x5BD2FA0920D37943LL < (((safe_unary_minus_func_uint64_t_u((p_111 | ((safe_mod_func_uint8_t_u_u((((((safe_rshift_func_uint64_t_u_s((safe_rshift_func_uint32_t_u_s((safe_lshift_func_int16_t_s_s((safe_sub_func_uint64_t_u_u(0xC9048CF01E82E616LL, ((*l_950) = ((g_946 = g_946) == l_948)))), ((*l_779) , (safe_add_func_int64_t_s_s(((l_954 = l_953) != (void*)0), 0UL))))), 11)), g_215)) < p_111) ^ (**g_524)) , 0x31386EA4L) , g_926), 0x15L)) > 0x5D02F63476709380LL)))) , 0L) | p_111))) , p_111) <= 65528UL), l_955))) ^ 0xFFC478FCL) > 0x409EL) , &g_199[0][2])));
    }
    for (g_33 = 0; (g_33 <= 1); g_33 += 1)
    { /* block id: 457 */
        union U2 *l_958 = &g_959;
        uint64_t l_969 = 1UL;
        uint32_t *l_990[10][1][6] = {{{(void*)0,&g_194,&g_194,&g_194,(void*)0,&g_194}},{{(void*)0,(void*)0,&g_194,&g_194,&l_736,&l_736}},{{(void*)0,&g_194,&g_194,(void*)0,&g_194,&l_736}},{{(void*)0,&l_736,&g_194,&g_194,&g_194,&g_194}},{{&g_194,&g_194,&g_194,&l_736,&g_194,(void*)0}},{{&g_194,&l_736,(void*)0,&g_194,&g_194,(void*)0}},{{&g_194,&g_194,(void*)0,&g_194,&l_736,&l_736}},{{&g_194,(void*)0,(void*)0,&l_736,(void*)0,(void*)0}},{{&g_194,&g_194,(void*)0,(void*)0,&l_736,&g_194}},{{&g_194,(void*)0,&g_194,&g_194,(void*)0,&g_194}}};
        uint32_t **l_991[3];
        int64_t *l_995[5][1][9] = {{{&g_59,&g_59,&g_59,&g_59,&g_59,&g_59,&g_59,&g_59,&g_59}},{{&g_59,&g_213,&g_59,&g_59,&g_213,&g_59,&g_59,&g_213,&g_59}},{{&g_59,&g_59,&g_59,&g_59,&g_59,&g_59,&g_59,&g_59,&g_59}},{{&g_59,&g_213,&g_59,&g_59,&g_213,&g_59,&g_59,&g_213,&g_59}},{{&g_59,&g_59,&g_59,&g_59,&g_59,&g_59,&g_59,&g_59,&g_59}}};
        int32_t l_996 = 0xFBB4751BL;
        int32_t *l_999 = (void*)0;
        int32_t *l_1000 = &l_767[2];
        uint16_t **l_1011 = &g_237;
        uint8_t *l_1021 = &g_521;
        int32_t l_1075 = (-1L);
        uint32_t l_1078 = 18446744073709551611UL;
        int32_t *l_1094[8][4][8] = {{{&g_914,(void*)0,&l_996,&g_143,&g_35,(void*)0,&g_914,&g_35},{&l_767[0],&g_199[0][5],&g_199[1][4],&l_1075,&l_1075,(void*)0,&g_914,&g_35},{&l_767[4],(void*)0,&g_914,&g_199[0][3],&l_996,&g_199[0][5],&l_996,(void*)0},{&l_1075,&g_914,(void*)0,&l_1075,(void*)0,&g_914,&l_1075,&l_996}},{{&g_35,&l_996,&l_767[1],&g_35,&l_996,&g_35,(void*)0,&g_914},{&g_199[0][2],&g_914,&l_996,&g_35,&l_996,&g_35,&g_199[0][5],&l_1075},{&g_35,&g_914,&l_767[1],&g_914,(void*)0,&l_767[1],&l_996,&g_914},{&l_1075,&l_1075,&g_143,&g_143,&l_996,&l_996,(void*)0,&g_143}},{{&l_767[4],&g_199[0][5],&g_35,&g_914,&l_1075,&g_143,&g_914,&l_767[1]},{&l_767[0],&l_767[1],(void*)0,&g_199[1][8],&g_35,(void*)0,&g_914,(void*)0},{&g_914,&l_996,&l_1075,&g_199[0][7],&l_767[1],&g_199[1][8],&l_996,(void*)0},{&l_767[1],&l_996,&g_914,&g_914,(void*)0,(void*)0,&g_143,&g_199[0][5]}},{{&l_996,&l_1075,(void*)0,&g_199[0][5],&g_199[0][5],&g_35,&l_767[4],&g_143},{&g_35,&l_996,&l_1075,&g_35,&l_996,&l_767[1],&g_35,&g_35},{&l_996,&g_199[0][2],&g_199[0][5],(void*)0,&g_35,(void*)0,&g_35,&g_199[1][8]},{&g_35,(void*)0,&g_35,&g_143,&g_35,&g_35,(void*)0,&l_1075}},{{&l_767[1],&l_1075,&l_996,&g_199[0][5],&g_199[0][2],&g_199[0][2],&g_199[0][3],&g_35},{&g_143,&g_143,&l_1075,&g_199[1][4],&g_199[0][5],&l_996,(void*)0,&l_1075},{&g_35,(void*)0,&l_996,&l_767[1],&l_996,&g_914,&g_914,&l_1075},{(void*)0,&g_914,&g_35,&g_199[1][4],&l_767[4],&g_199[0][5],&g_35,&g_35}},{{&l_996,(void*)0,(void*)0,&g_199[0][3],&l_767[1],&g_199[0][7],&l_1075,&l_996},{(void*)0,&l_996,&g_199[0][5],(void*)0,(void*)0,(void*)0,&g_199[0][2],&g_199[1][4]},{&g_199[0][5],&l_1075,&l_1075,&g_35,&g_35,&l_767[1],&l_996,&g_35},{&l_996,(void*)0,&g_914,&l_767[1],&l_1075,&l_767[4],(void*)0,&g_199[0][5]}},{{&l_996,&l_767[1],&g_199[1][0],&l_996,&g_199[0][6],&g_914,(void*)0,&g_199[0][3]},{(void*)0,&g_199[0][5],(void*)0,&l_996,&l_767[1],&l_1075,&g_199[1][7],(void*)0},{&l_1075,(void*)0,&l_996,&l_996,&l_996,&g_35,(void*)0,&g_143},{&l_1075,&g_199[1][7],&g_35,&g_199[1][4],&g_143,&g_199[0][3],(void*)0,&g_35}},{{(void*)0,&g_199[1][0],(void*)0,&l_996,&g_35,&g_914,&l_767[0],&g_143},{&g_35,&l_996,&g_35,&l_767[1],&l_996,&g_35,(void*)0,&g_35},{&l_1075,&l_1075,&l_996,&l_1075,&l_1075,&l_996,&g_199[1][0],&g_914},{&g_199[0][6],&g_35,&l_996,&g_914,&l_767[1],&l_996,&l_996,&l_1075}}};
        const int8_t l_1128 = 0xEDL;
        int32_t l_1131 = 0xC249CC1CL;
        struct S0 l_1132 = {29};
        int16_t l_1254 = (-2L);
        int16_t l_1258 = 0L;
        int32_t ** const l_1307 = (void*)0;
        int32_t *l_1325 = (void*)0;
        uint16_t ***l_1329 = (void*)0;
        uint16_t **** const l_1328 = &l_1329;
        uint16_t **** const *l_1327 = &l_1328;
        uint16_t ** const ***l_1330 = (void*)0;
        int32_t *l_1357 = &l_997;
        int32_t **l_1356 = &l_1357;
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_991[i] = &l_990[0][0][4];
        g_960[7] = l_958;
    }
    for (g_435 = 0; (g_435 <= 1); g_435 += 1)
    { /* block id: 663 */
        int32_t l_1394 = 4L;
        struct S0 l_1395 = {53};
        int32_t l_1401 = 0x9E1D4742L;
        int32_t l_1418 = 0xDDAF0A83L;
        int32_t l_1419 = 1L;
        uint32_t ** const l_1446 = &l_992;
        uint32_t ** const *l_1445 = &l_1446;
        uint32_t ** const **l_1444[7][6][6] = {{{&l_1445,&l_1445,&l_1445,(void*)0,&l_1445,&l_1445},{&l_1445,&l_1445,(void*)0,&l_1445,&l_1445,&l_1445},{(void*)0,&l_1445,&l_1445,(void*)0,&l_1445,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,(void*)0},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445},{&l_1445,&l_1445,(void*)0,&l_1445,&l_1445,&l_1445}},{{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445},{(void*)0,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,(void*)0},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,(void*)0,&l_1445}},{{&l_1445,&l_1445,(void*)0,&l_1445,&l_1445,(void*)0},{(void*)0,&l_1445,(void*)0,&l_1445,&l_1445,&l_1445},{&l_1445,&l_1445,(void*)0,&l_1445,&l_1445,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,(void*)0,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,(void*)0},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445}},{{(void*)0,(void*)0,&l_1445,&l_1445,(void*)0,&l_1445},{&l_1445,&l_1445,&l_1445,(void*)0,&l_1445,(void*)0},{&l_1445,&l_1445,&l_1445,&l_1445,(void*)0,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,(void*)0},{&l_1445,&l_1445,&l_1445,(void*)0,&l_1445,(void*)0},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445}},{{(void*)0,&l_1445,(void*)0,&l_1445,&l_1445,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,(void*)0,&l_1445},{&l_1445,(void*)0,&l_1445,&l_1445,(void*)0,(void*)0},{&l_1445,&l_1445,&l_1445,&l_1445,(void*)0,(void*)0},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445},{(void*)0,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445}},{{&l_1445,&l_1445,&l_1445,&l_1445,(void*)0,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,(void*)0,&l_1445},{&l_1445,(void*)0,&l_1445,&l_1445,(void*)0,&l_1445},{&l_1445,&l_1445,(void*)0,&l_1445,&l_1445,(void*)0},{&l_1445,&l_1445,&l_1445,(void*)0,&l_1445,&l_1445},{&l_1445,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445}},{{(void*)0,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445},{(void*)0,&l_1445,&l_1445,&l_1445,(void*)0,&l_1445},{(void*)0,&l_1445,&l_1445,&l_1445,&l_1445,&l_1445},{(void*)0,&l_1445,&l_1445,(void*)0,(void*)0,&l_1445},{&l_1445,(void*)0,&l_1445,&l_1445,&l_1445,(void*)0},{&l_1445,&l_1445,(void*)0,&l_1445,&l_1445,&l_1445}}};
        int16_t l_1459 = 0xCCA2L;
        uint64_t *** const l_1469 = &g_524;
        int32_t l_1496 = 0x8576B677L;
        int32_t l_1497[8] = {0x9D5CE6F1L,0x9D5CE6F1L,0x9D5CE6F1L,0x9D5CE6F1L,0x9D5CE6F1L,0x9D5CE6F1L,0x9D5CE6F1L,0x9D5CE6F1L};
        int32_t l_1498[10][3] = {{0xE12603E3L,(-1L),(-1L)},{0xA34FF789L,0x2E16D516L,0x948AEEB9L},{0xE12603E3L,0xCE0285C5L,0xE12603E3L},{1L,0xA34FF789L,0x948AEEB9L},{1L,1L,(-1L)},{0xE763B940L,0xA34FF789L,0xA34FF789L},{(-1L),0xCE0285C5L,1L},{0xE763B940L,0x2E16D516L,0xE763B940L},{1L,(-1L),1L},{1L,1L,0xA34FF789L}};
        uint8_t l_1500 = 0x6DL;
        int8_t **l_1509 = (void*)0;
        int8_t **l_1510[4][9][1] = {{{&g_160[2]},{(void*)0},{&g_160[5]},{&g_160[0]},{&g_160[5]},{&g_160[0]},{&g_160[5]},{(void*)0},{&g_160[2]}},{{&g_160[5]},{&g_160[5]},{&g_160[3]},{&g_160[5]},{&g_160[5]},{&g_160[2]},{(void*)0},{&g_160[5]},{&g_160[0]}},{{&g_160[5]},{&g_160[0]},{&g_160[5]},{(void*)0},{&g_160[2]},{&g_160[5]},{&g_160[5]},{&g_160[3]},{&g_160[5]}},{{&g_160[5]},{&g_160[2]},{(void*)0},{&g_160[5]},{&g_160[0]},{&g_160[5]},{&g_160[0]},{&g_160[5]},{(void*)0}}};
        int32_t *l_1515 = &g_1109;
        int64_t *l_1519 = &g_245[3][7];
        uint8_t l_1529 = 0xA8L;
        uint32_t ***l_1537 = &g_1535;
        int32_t l_1564 = (-1L);
        uint8_t l_1569 = 1UL;
        int8_t l_1641 = 0xAAL;
        uint32_t l_1651 = 0x51CB5178L;
        uint32_t *l_1656 = &g_194;
        int32_t * const **l_1687 = &g_947;
        uint16_t *****l_1715 = &g_772[6][4];
        int i, j, k;
    }
    if ((p_109 >= 0x2B5B34AEL))
    { /* block id: 844 */
        const int32_t **l_1720 = &g_799[0][1];
        struct S0 l_1728 = {29};
        int32_t l_1744 = (-1L);
        struct S0 * const *l_1762[6][10][4] = {{{&l_1582[0][0],&l_1582[0][0],(void*)0,(void*)0},{&l_1582[0][0],&g_694,&l_1582[1][0],(void*)0},{&l_1582[3][0],&g_694,&l_1582[0][0],(void*)0},{&g_694,&l_1582[0][0],&l_1582[1][2],&l_1582[0][0]},{&g_694,&g_694,(void*)0,&l_1582[3][5]},{&l_1582[2][0],(void*)0,&l_1582[0][4],&l_1582[2][4]},{&l_1582[0][0],&l_1582[0][0],&l_1582[2][0],&l_1582[0][0]},{&g_694,&l_1582[0][4],(void*)0,&g_694},{&g_694,&l_1582[3][2],&l_1582[3][3],&l_1582[0][0]},{&l_1582[0][0],&l_1582[3][5],&l_1582[0][0],&l_1582[0][4]}},{{&l_1582[0][0],&l_1582[0][0],&l_1582[2][4],(void*)0},{&l_1582[0][0],&l_1582[0][0],&l_1582[0][4],&l_1582[1][4]},{&l_1582[0][0],&l_1582[0][0],&l_1582[0][4],&l_1582[0][0]},{&g_694,&g_694,&l_1582[2][3],&g_694},{&l_1582[0][0],&l_1582[1][4],&l_1582[0][0],(void*)0},{&l_1582[3][5],&l_1582[0][0],&l_1582[3][0],&g_694},{(void*)0,&g_694,&g_694,&l_1582[2][3]},{(void*)0,&l_1582[2][4],&l_1582[3][0],&g_694},{&l_1582[3][5],&l_1582[2][3],&l_1582[0][0],&l_1582[1][1]},{&l_1582[0][0],(void*)0,&l_1582[2][3],&l_1582[0][0]}},{{&g_694,(void*)0,&l_1582[0][4],(void*)0},{&l_1582[0][0],&g_694,&l_1582[0][4],&l_1582[0][0]},{&l_1582[0][0],&g_694,&l_1582[2][4],&l_1582[1][0]},{&l_1582[0][0],(void*)0,&l_1582[0][0],&g_694},{&l_1582[0][0],&l_1582[0][0],&l_1582[3][3],&l_1582[3][1]},{&g_694,&l_1582[0][0],(void*)0,&g_694},{&g_694,(void*)0,&l_1582[2][0],&l_1582[0][0]},{&l_1582[0][0],&l_1582[0][0],&l_1582[0][4],&l_1582[0][0]},{&l_1582[2][0],(void*)0,(void*)0,&l_1582[2][0]},{&g_694,(void*)0,&l_1582[1][2],&l_1582[0][0]}},{{&g_694,&l_1582[3][1],&l_1582[0][0],&l_1582[0][0]},{&l_1582[0][0],&l_1582[0][0],&l_1582[0][0],&g_694},{&l_1582[1][4],&l_1582[1][0],&l_1582[0][0],(void*)0},{&l_1582[0][0],&l_1582[1][2],&l_1582[0][0],(void*)0},{&l_1582[2][3],&g_694,&g_694,&l_1582[3][1]},{&l_1582[0][0],&l_1582[0][0],&l_1582[0][0],(void*)0},{&l_1582[0][0],&g_694,&l_1582[3][3],&l_1582[2][4]},{&l_1582[3][3],&l_1582[0][0],&g_694,&l_1582[1][0]},{&l_1582[0][0],&l_1582[0][0],(void*)0,&l_1582[0][4]},{&g_694,&l_1582[0][0],&l_1582[0][0],&l_1582[0][0]}},{{&l_1582[0][0],&l_1582[0][0],&l_1582[0][4],&l_1582[0][0]},{(void*)0,&l_1582[3][5],&g_694,&l_1582[0][0]},{&g_694,&l_1582[0][0],&l_1582[0][0],(void*)0},{&l_1582[1][2],&l_1582[1][1],&l_1582[1][2],(void*)0},{&g_694,&g_694,&l_1582[0][0],&l_1582[1][4]},{(void*)0,&l_1582[0][0],&l_1582[0][0],&g_694},{(void*)0,&l_1582[2][4],&l_1582[0][0],&l_1582[0][0]},{(void*)0,(void*)0,&l_1582[0][0],(void*)0},{&g_694,&l_1582[2][0],&l_1582[1][2],&l_1582[3][3]},{&l_1582[1][2],&l_1582[3][3],&l_1582[0][0],&l_1582[0][0]}},{{&g_694,&l_1582[1][4],&g_694,&g_694},{(void*)0,&l_1582[0][0],&l_1582[0][4],&g_694},{&l_1582[0][0],&l_1582[0][4],&l_1582[0][0],&l_1582[0][0]},{&g_694,&g_694,(void*)0,&g_694},{&l_1582[0][0],&l_1582[0][0],&g_694,(void*)0},{&l_1582[3][3],&l_1582[0][0],&l_1582[3][3],&l_1582[0][4]},{&l_1582[0][0],&l_1582[0][0],&l_1582[0][0],&l_1582[0][0]},{&l_1582[0][0],&l_1582[3][2],&g_694,&g_694},{&l_1582[2][3],&l_1582[2][3],&l_1582[0][0],&l_1582[1][4]},{&l_1582[0][0],&l_1582[3][3],&l_1582[0][0],&l_1582[1][2]}}};
        struct S0 * const **l_1761 = &l_1762[0][3][2];
        int32_t l_1771[5] = {6L,6L,6L,6L,6L};
        uint16_t *****l_1786[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
        int64_t l_1799 = 0x89CA2C047EB51AF1LL;
        int i, j, k;
        (*l_1720) = &p_111;
        for (g_1700 = 1; (g_1700 >= 0); g_1700 -= 1)
        { /* block id: 848 */
            int32_t l_1725 = 2L;
            struct S0 l_1731 = {44};
            union U2 *l_1735 = &g_1736;
            int32_t l_1752 = 0L;
            int32_t l_1753 = 0x57FA1FACL;
            uint64_t l_1765 = 0x40C4EBFED7C438AELL;
            int32_t l_1791 = 0xBF14B725L;
            int32_t l_1792[3][6][10] = {{{0x21C483ABL,0x1E211B5EL,1L,6L,1L,0x1E211B5EL,0x21C483ABL,0x069506A1L,(-2L),0xDFB31745L},{0x887D6EB0L,0x210865BEL,(-1L),(-10L),6L,0xDFB31745L,(-1L),0x417AA1D4L,(-8L),0x069506A1L},{0x1E211B5EL,0x210865BEL,0xDFB31745L,0x21C483ABL,(-1L),(-1L),0x21C483ABL,0xDFB31745L,0x210865BEL,0x1E211B5EL},{(-2L),0x1E211B5EL,0x4682C89BL,0x887D6EB0L,0x417AA1D4L,0x21C483ABL,(-1L),(-10L),(-1L),6L},{0x4682C89BL,(-3L),1L,0x1E211B5EL,0x417AA1D4L,0x210865BEL,(-8L),0x210865BEL,0x417AA1D4L,0x1E211B5EL},{0x417AA1D4L,(-1L),0x417AA1D4L,(-2L),(-1L),0x887D6EB0L,6L,1L,1L,0x069506A1L}},{{(-1L),(-1L),(-8L),(-2L),0x4F006A8CL,1L,(-1L),(-1L),(-1L),(-1L)},{0x417AA1D4L,(-8L),0x069506A1L,0x069506A1L,(-8L),0x417AA1D4L,(-1L),0xDFB31745L,6L,(-10L)},{0x887D6EB0L,(-3L),(-1L),(-9L),0x1E211B5EL,(-8L),1L,1L,(-1L),(-2L)},{0x887D6EB0L,(-1L),(-2L),0x417AA1D4L,(-1L),0x417AA1D4L,(-2L),(-1L),0x887D6EB0L,6L},{0x417AA1D4L,(-2L),(-1L),0x887D6EB0L,6L,1L,1L,0x069506A1L,(-9L),1L},{(-9L),(-1L),(-3L),0x887D6EB0L,(-9L),0x4682C89BL,0x4682C89BL,(-9L),0x887D6EB0L,(-3L)}},{{0x069506A1L,0x069506A1L,(-8L),0x417AA1D4L,(-1L),0xDFB31745L,6L,(-10L),(-1L),0x210865BEL},{(-2L),(-10L),1L,(-9L),0x4682C89BL,(-1L),6L,0x417AA1D4L,6L,(-1L)},{0x210865BEL,0x069506A1L,(-9L),0x069506A1L,0x210865BEL,1L,0x4682C89BL,0x4F006A8CL,(-1L),(-8L)},{(-1L),(-1L),0x887D6EB0L,(-2L),(-9L),(-1L),1L,(-3L),(-8L),(-8L)},{0x4682C89BL,(-2L),(-1L),0x210865BEL,0x210865BEL,(-1L),(-2L),0x4682C89BL,0x069506A1L,(-1L)},{(-1L),(-1L),0xDFB31745L,(-1L),0x4682C89BL,(-3L),1L,0x1E211B5EL,0x417AA1D4L,0x210865BEL}}};
            int8_t l_1794 = 0x5DL;
            int i, j, k;
        }
        for (g_194 = (-12); (g_194 != 27); ++g_194)
        { /* block id: 933 */
            uint64_t ****l_1839 = &l_1716;
            uint64_t *****l_1838 = &l_1839;
            int8_t *l_1846[3];
            int32_t l_1847 = 0L;
            int32_t l_1848 = 0x4099A8BCL;
            uint16_t l_1849 = 65535UL;
            int i;
            for (i = 0; i < 3; i++)
                l_1846[i] = &g_1002.f1;
            (*g_34) = ((0xBEL || (safe_rshift_func_int64_t_s_u(0x02D7680F3E6C0169LL, (g_1678 != ((*l_1838) = &l_1716))))) > (safe_div_func_uint32_t_u_u(((*l_992) = (safe_rshift_func_uint8_t_u_u((p_109 < p_108), (((**g_693) , 0xE6D51F4082A2559CLL) == (safe_sub_func_int8_t_s_s((l_1847 = (**l_1720)), p_108)))))), 0x96FDA353L)));
            l_1849++;
            l_1852[6]--;
        }
    }
    else
    { /* block id: 941 */
        return p_111;
    }
    return p_108;
}


/* ------------------------------------------ */
/* 
 * reads : g_131 g_35 g_143 g_187 g_34 g_46.f0 g_46 g_31 g_194 g_199 g_161 g_213 g_8 g_215 g_33 g_238 g_151 g_245 g_237 g_295 g_349 g_59 g_36 g_367 g_332 g_384.f0 g_440 g_493 g_524 g_435 g_384 g_525 g_598.f4 g_253 g_596.f4 g_598.f5
 * writes: g_131 g_35 g_143 g_151 g_160 g_187 g_213 g_215 g_33 g_237 g_161 g_245 g_199 g_253 g_332 g_295 g_367 g_34 g_384 g_194 g_435 g_440 g_521 g_524 g_693
 */
static struct S0  func_112(const struct S0  p_113, uint8_t  p_114, uint8_t * p_115)
{ /* block id: 35 */
    int8_t l_124 = 2L;
    uint64_t *l_130 = &g_131[0];
    const int8_t *l_158 = &l_124;
    uint16_t l_200 = 0x3926L;
    int32_t l_294 = 0xFC2CE5BBL;
    int32_t l_304 = 0x31B95325L;
    uint32_t l_306[10][5] = {{18446744073709551615UL,0x9F382728L,18446744073709551615UL,18446744073709551615UL,0x9F382728L},{9UL,0x38932FEBL,18446744073709551609UL,0xB9470D68L,18446744073709551609UL},{0x9F382728L,0x9F382728L,0UL,0x9F382728L,0x9F382728L},{18446744073709551609UL,0xB9470D68L,18446744073709551609UL,0x38932FEBL,9UL},{0x9F382728L,18446744073709551615UL,18446744073709551615UL,0x9F382728L,18446744073709551615UL},{9UL,0xB9470D68L,0x81293541L,0xB9470D68L,9UL},{18446744073709551615UL,0x9F382728L,18446744073709551615UL,18446744073709551615UL,0x9F382728L},{9UL,0x38932FEBL,18446744073709551609UL,0xB9470D68L,18446744073709551609UL},{0x9F382728L,0x9F382728L,0UL,0x9F382728L,0x9F382728L},{18446744073709551609UL,0xB9470D68L,18446744073709551609UL,0x38932FEBL,9UL}};
    int16_t l_327 = (-7L);
    uint64_t *l_362 = &g_131[0];
    int32_t * const l_378 = &l_304;
    int32_t * const *l_377 = &l_378;
    struct S0 l_436 = {38};
    int32_t l_438[6][10] = {{0x80BC1E87L,0x80BC1E87L,1L,0x6819A385L,(-5L),(-5L),0x6819A385L,1L,0x80BC1E87L,0x80BC1E87L},{(-5L),0x6819A385L,1L,0x80BC1E87L,0x80BC1E87L,1L,0x6819A385L,(-5L),(-5L),0x6819A385L},{(-5L),0x80BC1E87L,0x6819A385L,0x6819A385L,0x80BC1E87L,(-5L),1L,1L,(-5L),0x80BC1E87L},{0x80BC1E87L,0x6819A385L,0x6819A385L,0x80BC1E87L,(-5L),1L,1L,(-5L),0x80BC1E87L,0x6819A385L},{0x80BC1E87L,0x80BC1E87L,1L,0x6819A385L,(-5L),(-5L),0x6819A385L,1L,0x80BC1E87L,0x80BC1E87L},{(-5L),0x6819A385L,1L,0x80BC1E87L,0x80BC1E87L,1L,0x6819A385L,(-5L),(-5L),0x6819A385L}};
    uint16_t * const *l_450[6];
    uint16_t **l_458 = &g_237;
    const struct S1 * const l_595 = &g_596;
    struct S0 l_599 = {45};
    int16_t l_684 = 0x3351L;
    int i, j;
    for (i = 0; i < 6; i++)
        l_450[i] = &g_237;
    if ((l_124 >= (safe_sub_func_uint8_t_u_u((safe_mul_func_int8_t_s_s(6L, (~(--(*l_130))))), (safe_rshift_func_uint8_t_u_s((safe_lshift_func_int16_t_s_u(0x13C8L, 4)), l_124))))))
    { /* block id: 37 */
        uint16_t l_153 = 0xF555L;
        uint64_t *l_162 = &g_131[0];
        for (g_35 = 12; (g_35 > 19); ++g_35)
        { /* block id: 40 */
            int32_t *l_142 = &g_143;
            int8_t *l_152[7][4] = {{&l_124,(void*)0,(void*)0,&l_124},{(void*)0,&l_124,(void*)0,(void*)0},{&l_124,&l_124,&l_124,&l_124},{&l_124,(void*)0,(void*)0,&l_124},{(void*)0,&l_124,(void*)0,(void*)0},{&l_124,&l_124,&l_124,&l_124},{&l_124,(void*)0,(void*)0,&l_124}};
            int8_t **l_159[6];
            int i, j;
            for (i = 0; i < 6; i++)
                l_159[i] = &l_152[3][1];
            (*l_142) ^= (safe_mod_func_uint32_t_u_u(0x34511E04L, 1UL));
            (*l_142) = (((void*)0 == l_130) < (((safe_add_func_uint8_t_u_u(p_114, (safe_div_func_uint64_t_u_u(p_113.f0, (+(safe_lshift_func_int8_t_s_s((l_153 ^= (g_151[0][0] = (l_130 != (void*)0))), 2))))))) , ((safe_mod_func_uint8_t_u_u((safe_sub_func_uint32_t_u_u(((((l_158 == (g_160[5] = (void*)0)) , (void*)0) != l_162) , 0x738E283FL), g_35)), l_124)) | p_113.f0)) ^ p_114));
        }
        return p_113;
    }
    else
    { /* block id: 48 */
        uint32_t l_196 = 7UL;
        uint32_t l_266 = 1UL;
        int32_t l_300 = 0x406727EBL;
        int32_t l_305 = 6L;
        int16_t l_318[1][3];
        int8_t **l_331 = &g_160[1];
        int8_t l_341[2][9] = {{(-9L),(-9L),2L,2L,(-9L),(-9L),2L,2L,(-9L)},{0x68L,(-10L),0x68L,(-10L),0x68L,(-10L),0x68L,(-10L),0x68L}};
        int32_t *l_343 = &g_143;
        uint16_t ****l_348 = (void*)0;
        uint16_t *l_356 = &g_295;
        int64_t *l_365 = &g_245[2][3];
        uint64_t *l_366[6][8][2] = {{{&g_367,&g_8},{&g_8,&g_367},{(void*)0,&g_367},{&g_8,&g_8},{&g_367,&g_8},{&g_367,&g_367},{(void*)0,&g_367},{(void*)0,&g_367}},{{&g_8,&g_367},{&g_8,&g_8},{(void*)0,(void*)0},{(void*)0,&g_8},{(void*)0,&g_8},{&g_8,(void*)0},{(void*)0,&g_8},{(void*)0,(void*)0}},{{&g_8,&g_8},{(void*)0,&g_8},{(void*)0,(void*)0},{(void*)0,&g_8},{&g_8,&g_367},{&g_8,&g_367},{(void*)0,&g_367},{(void*)0,&g_367}},{{&g_367,&g_8},{&g_367,&g_8},{&g_8,&g_367},{(void*)0,&g_367},{&g_8,&g_8},{&g_367,&g_8},{&g_367,&g_367},{(void*)0,&g_367}},{{(void*)0,&g_367},{&g_8,&g_367},{&g_8,&g_8},{(void*)0,(void*)0},{(void*)0,&g_8},{(void*)0,&g_8},{&g_8,(void*)0},{(void*)0,&g_8}},{{(void*)0,(void*)0},{&g_8,&g_8},{(void*)0,&g_8},{(void*)0,(void*)0},{(void*)0,&g_8},{&g_8,&g_367},{&g_8,&g_367},{(void*)0,&g_367}}};
        int32_t **l_372 = &g_34;
        int16_t l_379 = (-8L);
        int i, j, k;
        for (i = 0; i < 1; i++)
        {
            for (j = 0; j < 3; j++)
                l_318[i][j] = 6L;
        }
        for (g_35 = 0; (g_35 != (-4)); g_35--)
        { /* block id: 51 */
            uint64_t l_185[4] = {1UL,1UL,1UL,1UL};
            uint64_t l_197 = 0x16CAE9C981C0E1BBLL;
            struct S0 l_212 = {57};
            uint16_t *l_236 = &g_187[0];
            int32_t l_240 = 7L;
            int32_t l_298 = 0xE24285D8L;
            int32_t l_299 = 8L;
            int8_t **l_333 = (void*)0;
            uint64_t **l_357 = &l_130;
            uint32_t *l_360[9][10] = {{&g_194,(void*)0,&g_194,&g_194,(void*)0,&g_194,&g_194,&g_194,&g_194,&g_194},{&g_194,&g_194,&g_194,&g_194,(void*)0,&g_194,&g_194,&g_194,&g_194,(void*)0},{(void*)0,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194},{&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,(void*)0,&g_194,&g_194},{&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,(void*)0},{&g_194,&g_194,(void*)0,&g_194,&g_194,(void*)0,&g_194,&g_194,(void*)0,&g_194},{(void*)0,&g_194,&g_194,(void*)0,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194},{&g_194,&g_194,(void*)0,(void*)0,&g_194,&g_194,&g_194,(void*)0,&g_194,&g_194},{(void*)0,&g_194,&g_194,(void*)0,(void*)0,(void*)0,(void*)0,&g_194,&g_194,(void*)0}};
            uint64_t *l_361[7] = {&g_131[0],&g_131[0],&g_131[0],&g_131[0],&g_131[0],&g_131[0],&g_131[0]};
            int i, j;
            for (p_114 = (-23); (p_114 == 30); ++p_114)
            { /* block id: 54 */
                uint16_t *l_186 = &g_187[0];
                uint32_t *l_193[9] = {&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194,&g_194};
                int32_t l_195 = 1L;
                int32_t *l_198[2];
                uint8_t *l_208 = (void*)0;
                int16_t *l_214[8][1][1] = {{{&g_215}},{{&g_215}},{{&g_215}},{{&g_215}},{{&g_215}},{{&g_215}},{{&g_215}},{{&g_215}}};
                int64_t *l_255[6][7] = {{&g_59,(void*)0,&g_245[0][0],&g_59,&g_213,&g_245[3][7],&g_213},{&g_59,(void*)0,(void*)0,&g_59,&g_245[3][6],&g_59,&g_213},{(void*)0,(void*)0,(void*)0,(void*)0,&g_213,&g_59,&g_245[3][6]},{&g_59,(void*)0,&g_245[0][0],&g_59,&g_213,&g_245[3][7],&g_213},{&g_59,(void*)0,(void*)0,&g_59,&g_245[3][6],&g_59,&g_213},{(void*)0,(void*)0,(void*)0,(void*)0,&g_213,&g_59,&g_245[3][6]}};
                int32_t l_302 = 0x81741E53L;
                int i, j, k;
                for (i = 0; i < 2; i++)
                    l_198[i] = &g_199[0][5];
                l_200 &= (((safe_add_func_uint32_t_u_u((safe_rshift_func_int32_t_s_s((safe_mod_func_int8_t_s_s(((safe_sub_func_uint8_t_u_u(((g_131[0] | (safe_add_func_uint16_t_u_u((safe_mul_func_int8_t_s_s((+(safe_sub_func_uint32_t_u_u(((~(safe_mul_func_uint16_t_u_u(((*l_186) ^= l_185[2]), 0xEE03L))) , (((l_195 = (safe_sub_func_uint32_t_u_u(4UL, (!((((&l_158 != (void*)0) , 0xF6C2L) | ((safe_add_func_int64_t_s_s(g_143, ((&p_114 != &g_36) == 1UL))) > (*g_34))) == 1UL))))) < 0UL) ^ 0x535CL)), 0xBF40340AL))), p_114)), l_196))) > p_114), g_46.f0)) >= 0xCFL), l_124)), l_197)), 0x34421CF7L)) & g_35) , 0L);
                if (((g_215 &= (safe_mod_func_uint64_t_u_u((safe_mul_func_uint32_t_u_u(0UL, ((g_46 , ((safe_div_func_uint32_t_u_u(0xD905F98FL, ((+(&p_114 != l_208)) && l_124))) , (g_31 , (g_194 <= ((*l_186) = (~(g_213 &= (safe_sub_func_uint64_t_u_u(((l_212 , l_196) , g_199[1][4]), g_161))))))))) != g_8))), 0xE65700571A61B918LL))) || g_131[0]))
                { /* block id: 61 */
                    uint64_t l_229 = 0x123B753B5FD39117LL;
                    struct S0 l_254 = {57};
                    for (g_215 = (-29); (g_215 > 10); g_215 = safe_add_func_int32_t_s_s(g_215, 5))
                    { /* block id: 64 */
                        int32_t * const l_218 = &g_199[0][5];
                        int32_t **l_219 = &l_198[1];
                        int64_t *l_241 = &g_213;
                        int8_t *l_242 = &g_161;
                        int64_t *l_243 = (void*)0;
                        int64_t *l_244 = &g_245[3][7];
                        uint16_t *l_246 = &g_187[1];
                        uint16_t **l_247 = &g_237;
                        uint8_t l_251 = 0x02L;
                        uint8_t *l_252 = &g_253;
                        (*l_219) = func_24((p_114 , 7L), l_218);
                        g_143 |= (p_113 , ((*l_218) = (safe_div_func_int64_t_s_s(((*l_244) ^= ((+(!(0xCFF9C7B46AC6E247LL != (+((((*l_186) = ((p_114 || (safe_lshift_func_int8_t_s_s(((*l_242) = (((void*)0 == &g_199[0][5]) & ((*l_241) = (((safe_sub_func_int64_t_s_s(l_229, (l_124 & l_196))) != (safe_sub_func_int32_t_s_s((safe_mod_func_uint8_t_u_u(((safe_div_func_uint64_t_u_u((l_240 = (((g_237 = l_236) != g_238) , p_113.f0)), p_114)) & g_215), 1UL)), g_161))) && g_151[6][0])))), l_229))) > 0x0A73L)) && p_113.f0) | p_114))))) && g_131[0])), p_113.f0))));
                        (*l_218) ^= (((((((*l_247) = l_246) != &g_187[0]) < (safe_lshift_func_uint32_t_u_s((~(((((l_229 <= 0x86L) , (l_251 > ((*l_252) = 0x31L))) | ((((*l_244) = (&g_245[2][5] == (void*)0)) == 9L) != g_33)) , 65535UL) , 0xA889L)), 27))) , g_215) , p_113.f0) , 1L);
                        return l_254;
                    }
                }
                else
                { /* block id: 80 */
                    const int64_t *l_256 = &g_245[3][7];
                    int32_t l_257 = (-9L);
                    if (((l_255[0][5] == l_256) && l_257))
                    { /* block id: 81 */
                        struct S0 *l_258 = (void*)0;
                        struct S0 *l_259 = (void*)0;
                        struct S0 *l_260[9] = {&l_212,&l_212,&l_212,&l_212,&l_212,&l_212,&l_212,&l_212,&l_212};
                        int i;
                        l_212 = p_113;
                        return p_113;
                    }
                    else
                    { /* block id: 84 */
                        return g_46;
                    }
                }
                if ((+(0L && ((safe_add_func_int16_t_s_s(((((g_245[0][4] = ((l_266 && ((void*)0 == &l_198[1])) < (((safe_lshift_func_int16_t_s_u(g_31, 0)) & (p_114 < 0xDF9FEE000613AA2FLL)) , ((*g_237) , g_245[0][1])))) < 0UL) >= (*g_34)) | g_31), p_114)) | 0x37DBL))))
                { /* block id: 89 */
                    volatile uint16_t **l_270 = &g_238;
                    volatile uint16_t ***l_269 = &l_270;
                    if (p_114)
                        break;
                    (*l_269) = &g_238;
                }
                else
                { /* block id: 92 */
                    uint8_t l_273[10] = {249UL,0x31L,249UL,0x31L,249UL,0x31L,249UL,0x31L,249UL,0x31L};
                    int8_t *l_296 = &g_161;
                    int8_t *l_297[10];
                    int32_t l_301 = 3L;
                    int32_t l_303[8];
                    uint16_t **l_313 = (void*)0;
                    uint16_t *** const l_312 = &l_313;
                    uint16_t *** const *l_311 = &l_312;
                    int i;
                    for (i = 0; i < 10; i++)
                        l_297[i] = &l_124;
                    for (i = 0; i < 8; i++)
                        l_303[i] = 0xAC5765B8L;
                    if ((((l_240 = (((*l_296) = (safe_add_func_uint16_t_u_u(((l_273[6] = g_46.f0) < (((safe_add_func_uint16_t_u_u((safe_unary_minus_func_int64_t_s((((safe_div_func_int8_t_s_s((((safe_div_func_uint16_t_u_u(((p_113.f0 >= (++g_131[0])) >= p_113.f0), (p_114 | ((l_294 = ((safe_div_func_uint8_t_u_u(((((safe_rshift_func_int8_t_s_u(((safe_sub_func_int32_t_s_s((+((-4L) <= (g_143 , (*g_237)))), (safe_div_func_int64_t_s_s((-3L), (safe_div_func_int16_t_s_s(((g_46 , 0x1B9E98DDL) < 0x42DB3603L), 4L)))))) <= p_114), g_151[0][0])) > 18446744073709551611UL) & l_212.f0) == (-2L)), 0xCAL)) , 0xDAC05CE4L)) >= (*g_34))))) > 0x5DC9L) != l_240), g_295)) , g_245[3][7]) , l_185[3]))), 7L)) > l_266) > p_113.f0)), 0x33CBL))) || p_114)) > p_114) == 7UL))
                    { /* block id: 98 */
                        l_306[3][2]++;
                    }
                    else
                    { /* block id: 100 */
                        const struct S0 *l_310 = (void*)0;
                        const struct S0 **l_309 = &l_310;
                        uint16_t *** const **l_314 = &l_311;
                        (*l_309) = &g_46;
                        (*l_314) = l_311;
                    }
                    for (l_124 = (-12); (l_124 > (-3)); l_124 = safe_add_func_uint32_t_u_u(l_124, 6))
                    { /* block id: 106 */
                        int32_t l_317 = 0x63D413FBL;
                        int32_t l_319 = 0x0287E100L;
                        int32_t l_320 = (-1L);
                        uint8_t l_321 = 0xA2L;
                        uint64_t **l_339[2];
                        uint64_t *l_340 = &l_197;
                        int i;
                        for (i = 0; i < 2; i++)
                            l_339[i] = &l_130;
                        l_321--;
                        l_300 &= ((((safe_sub_func_uint16_t_u_u((~((3L && l_327) >= g_161)), (~(safe_lshift_func_uint32_t_u_u(((((g_332[0][0][6] = (p_113 , l_331)) != (p_113.f0 , l_333)) , (((~(((safe_sub_func_int16_t_s_s((safe_lshift_func_int8_t_s_u((((l_340 = (void*)0) == (void*)0) < l_240), g_151[7][0])), p_114)) >= g_151[1][0]) , 4294967295UL)) ^ l_200) <= p_113.f0)) ^ 0L), l_321))))) <= g_245[1][4]) && l_298) , (*g_34));
                    }
                    for (l_197 = 1; (l_197 <= 9); l_197 += 1)
                    { /* block id: 114 */
                        int32_t **l_342[9] = {&l_198[1],&l_198[1],&l_198[1],&l_198[1],&l_198[1],&l_198[1],&l_198[1],&l_198[1],&l_198[1]};
                        int i;
                        (*l_312) = &g_237;
                        if (l_341[0][2])
                            continue;
                        l_343 = &l_299;
                        if (p_113.f0)
                            continue;
                    }
                }
            }
            (*l_343) = (l_306[3][2] && (0x91A9231AL == (((safe_add_func_uint16_t_u_u(l_299, ((g_143 , (safe_lshift_func_uint32_t_u_s(0xBEC72438L, 12))) == (l_185[2] && (l_348 == g_349))))) != (~g_131[0])) != g_59)));
            l_298 = ((((safe_rshift_func_uint8_t_u_s(g_36, 1)) <= (((void*)0 == l_356) != ((((*l_357) = (void*)0) == ((((safe_mod_func_int16_t_s_s((((((p_114 , (p_113 , 0xDE92A9C3L)) <= (l_294 |= l_304)) & (g_131[0] |= (((*l_343) = (l_197 && (*g_34))) , l_200))) , &l_305) == &g_35), 65535UL)) <= 9L) != 1UL) , l_362)) == l_200))) >= l_327) , p_113.f0);
            return p_113;
        }
        if (((safe_mul_func_int64_t_s_s(((*l_365) ^= ((((*l_356) = l_294) < p_113.f0) > p_113.f0)), (g_367 ^= ((*l_343) = ((*l_362) = g_187[0]))))) >= (safe_rshift_func_uint8_t_u_u((safe_add_func_int16_t_s_s((((((((((((*l_372) = &l_294) == (void*)0) ^ (safe_sub_func_uint8_t_u_u(0x84L, (safe_div_func_uint64_t_u_u(((void*)0 == l_377), g_33))))) & 0x5958L) <= p_114) <= g_59) , 0x62193DFAL) , g_35) | (**l_377)) , (**l_372)), 65535UL)), (*l_378)))))
        { /* block id: 136 */
            int32_t l_380 = (-9L);
            for (g_161 = 0; g_161 < 1; g_161 += 1)
            {
                for (l_200 = 0; l_200 < 3; l_200 += 1)
                {
                    l_318[g_161][l_200] = 0x8450L;
                }
            }
            l_380 = l_379;
        }
        else
        { /* block id: 139 */
            struct S0 *l_383 = &g_384;
            for (g_213 = 0; (g_213 != (-2)); --g_213)
            { /* block id: 142 */
                (**l_372) &= (g_36 >= 0x99L);
                return p_113;
            }
            (*l_383) = p_113;
        }
        for (g_35 = 0; (g_35 <= 19); g_35++)
        { /* block id: 150 */
            return p_113;
        }
    }
    if ((safe_sub_func_uint32_t_u_u((((((((safe_lshift_func_uint16_t_u_s((*l_378), ((safe_div_func_int32_t_s_s(((0x306D479AL >= (safe_div_func_uint64_t_u_u((((safe_mul_func_int64_t_s_s(p_114, (*l_378))) > ((void*)0 != &g_349)) && (~g_245[3][7])), 0xF90522F1F446DA88LL))) >= ((((*g_34) |= (safe_unary_minus_func_uint32_t_u((*l_378)))) & 1UL) , g_215)), 0x1CABDFC5L)) == 0L))) <= 0xB4L) | (*l_378)) , 0x1128L) == (*l_378)) >= (*l_378)) , p_114), p_113.f0)))
    { /* block id: 155 */
        int32_t *l_405[1];
        int32_t **l_437 = &l_405[0];
        int8_t l_439 = 0xB4L;
        uint16_t l_443 = 65534UL;
        int i;
        for (i = 0; i < 1; i++)
            l_405[i] = &g_199[0][5];
        for (p_114 = 0; (p_114 < 11); ++p_114)
        { /* block id: 158 */
            uint16_t **l_429 = &g_237;
            for (g_143 = 15; (g_143 <= (-5)); --g_143)
            { /* block id: 161 */
                uint16_t **l_407 = (void*)0;
                uint16_t l_408 = 4UL;
                for (g_213 = 6; (g_213 >= 9); g_213 = safe_add_func_int16_t_s_s(g_213, 9))
                { /* block id: 164 */
                    int32_t **l_406 = &l_405[0];
                    (*l_406) = l_405[0];
                    (**l_406) = (l_407 == ((**l_406) , l_407));
                }
                --l_408;
            }
            for (g_194 = 0; (g_194 >= 11); g_194 = safe_add_func_int32_t_s_s(g_194, 7))
            { /* block id: 172 */
                for (l_327 = 5; (l_327 >= 0); l_327 -= 1)
                { /* block id: 175 */
                    const int32_t l_430[4] = {0x265D95A7L,0x265D95A7L,0x265D95A7L,0x265D95A7L};
                    uint64_t *l_431 = &g_367;
                    uint32_t l_432 = 18446744073709551614UL;
                    int8_t *l_433 = &g_161;
                    uint64_t *l_434 = &g_435;
                    int i, j, k;
                    g_143 &= ((safe_add_func_int16_t_s_s(((p_114 & (safe_div_func_int32_t_s_s(p_113.f0, (safe_sub_func_uint32_t_u_u((safe_mod_func_int64_t_s_s((safe_add_func_uint64_t_u_u(((*l_434) = ((safe_mul_func_int8_t_s_s(((g_35 <= g_199[1][1]) , ((*l_433) = ((((((safe_lshift_func_uint16_t_u_s((g_332[l_327][l_327][(l_327 + 1)] == (void*)0), (p_113.f0 | (((**l_377) = (((*l_431) = ((4294967292UL < ((safe_sub_func_uint8_t_u_u(((((*l_130) = (l_429 == &g_237)) , 0x4D58AAD3L) != (*g_34)), l_430[0])) & p_114)) == 0xFFL)) & l_432)) > 0x103E8C47L)))) == p_114) == p_114) < p_113.f0) & g_31) , p_113.f0))), g_295)) < p_113.f0)), p_113.f0)), p_113.f0)), (*g_34)))))) , g_384.f0), p_114)) == g_245[3][7]);
                    if (p_113.f0)
                        continue;
                    (**l_377) &= (p_114 <= ((*l_433) ^= p_113.f0));
                    (*l_378) = (*l_378);
                }
            }
            return l_436;
        }
        (*l_437) = l_405[0];
        --g_440;
        --l_443;
    }
    else
    { /* block id: 193 */
        uint32_t l_461 = 0x6CE7804CL;
        uint8_t *l_462 = &g_253;
        int32_t l_489 = 0x2673A016L;
        const uint32_t l_490[3][4] = {{4294967295UL,4294967295UL,4UL,0UL},{4294967293UL,3UL,4294967293UL,4UL},{4294967293UL,4UL,4294967293UL,0UL}};
        int32_t * const l_491 = &l_294;
        int64_t *l_508 = &g_59;
        const uint64_t *l_523[6];
        const uint64_t **l_522 = &l_523[4];
        int32_t l_541 = (-2L);
        int32_t l_542 = (-9L);
        int32_t l_543 = 1L;
        uint8_t l_546 = 0x6FL;
        int8_t * const *l_679 = (void*)0;
        uint8_t l_688 = 1UL;
        int32_t l_720 = 7L;
        int32_t l_721 = 1L;
        int32_t *l_725 = &l_438[0][2];
        int32_t *l_726[9] = {&l_720,&l_720,&l_720,&l_720,&l_720,&l_720,&l_720,&l_720,&l_720};
        int32_t l_727 = 0xEAB66BD4L;
        uint8_t l_728[8][5][6] = {{{2UL,3UL,0UL,6UL,0xDDL,255UL},{4UL,0xF9L,0xCAL,0x02L,251UL,0UL},{4UL,0x84L,0x02L,6UL,0x84L,2UL},{2UL,0xDDL,0UL,6UL,2UL,6UL},{4UL,0xFDL,4UL,0x02L,0xF9L,0UL}},{{4UL,251UL,255UL,6UL,251UL,0xCAL},{2UL,2UL,0UL,6UL,3UL,0x02L},{4UL,251UL,2UL,0x02L,0xFDL,0UL},{4UL,252UL,6UL,6UL,252UL,4UL},{2UL,3UL,0UL,6UL,0xDDL,255UL}},{{4UL,0xF9L,0xCAL,0x02L,251UL,0UL},{4UL,0x84L,0x02L,6UL,0x84L,2UL},{2UL,0xDDL,0UL,6UL,2UL,6UL},{4UL,0xFDL,4UL,0x02L,0xF9L,0UL},{4UL,251UL,255UL,6UL,251UL,0xCAL}},{{2UL,2UL,0UL,6UL,3UL,0x02L},{4UL,251UL,2UL,0x02L,0xFDL,0UL},{4UL,252UL,6UL,6UL,252UL,4UL},{2UL,3UL,0UL,6UL,0xDDL,255UL},{4UL,0xF9L,0xCAL,0x02L,251UL,0UL}},{{4UL,0x84L,0x02L,6UL,0x84L,2UL},{2UL,0xDDL,0UL,6UL,2UL,6UL},{4UL,0xFDL,4UL,0x02L,0xF9L,0UL},{4UL,251UL,255UL,6UL,251UL,0xCAL},{2UL,2UL,0UL,6UL,3UL,0x02L}},{{4UL,251UL,2UL,0x02L,0xFDL,0UL},{4UL,252UL,6UL,6UL,252UL,4UL},{2UL,3UL,0UL,6UL,0xDDL,255UL},{4UL,0xF9L,0xCAL,0x02L,251UL,0UL},{4UL,0x84L,0x02L,6UL,0x84L,2UL}},{{0x85L,0xCAL,0xCCL,0xA1L,2UL,0xA1L},{0x80L,0UL,0x80L,246UL,0UL,0xFFL},{0x80L,6UL,0xC5L,0xA1L,6UL,0xD0L},{0x85L,2UL,0x8DL,0xA1L,4UL,246UL},{0x80L,0UL,0x85L,246UL,0UL,0xCCL}},{{0x80L,255UL,0xA1L,0xA1L,255UL,0x80L},{0x85L,4UL,0xFFL,0xA1L,0xCAL,0xC5L},{0x80L,0UL,0xD0L,246UL,0UL,0x8DL},{0x80L,0x02L,246UL,0xA1L,0x02L,0x85L},{0x85L,0xCAL,0xCCL,0xA1L,2UL,0xA1L}}};
        int i, j, k;
        for (i = 0; i < 6; i++)
            l_523[i] = &g_131[0];
        (*l_378) = (*g_34);
        if (((**l_377) | (18446744073709551608UL > 0xEDBCD6CEA0210FF5LL)))
        { /* block id: 195 */
            uint16_t * const **l_451 = &l_450[1];
            int64_t *l_456 = &g_245[3][7];
            int32_t l_457 = (-1L);
            int32_t *l_459 = (void*)0;
            int32_t l_460[8][3] = {{0xA748FBA4L,1L,0x198F3286L},{1L,0x9F8EEA09L,0x9F8EEA09L},{1L,0xA748FBA4L,0x198F3286L},{(-1L),0xCDFC5309L,0xA748FBA4L},{(-1L),0L,1L},{1L,(-1L),1L},{1L,0L,(-1L)},{0xA748FBA4L,0xCDFC5309L,(-1L)}};
            int8_t *l_479 = &l_124;
            const struct S1 *l_597 = &g_598;
            int i, j;
            if ((((((safe_div_func_uint64_t_u_u((safe_rshift_func_int32_t_s_s(((**l_377) = (((*l_451) = l_450[2]) == ((((safe_mod_func_uint8_t_u_u((safe_sub_func_int64_t_s_s(((*l_456) = (-6L)), 0x861D336537BE7B3DLL)), l_457)) , &g_36) == &g_36) , l_458))), 12)), g_8)) < (((**l_458) = ((l_460[5][0] = g_213) , l_461)) < p_113.f0)) || (**l_377)) , &p_114) != l_462))
            { /* block id: 201 */
lbl_550:
                (*l_378) = p_113.f0;
            }
            else
            { /* block id: 203 */
                int8_t **l_478[7] = {&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5],&g_160[5]};
                int32_t l_482[10][2] = {{0x15FEB5DDL,0L},{0x9F898E38L,6L},{0L,6L},{0x9F898E38L,0L},{0x15FEB5DDL,0x15FEB5DDL},{0x15FEB5DDL,0L},{0x9F898E38L,6L},{0L,6L},{0x9F898E38L,0L},{0x15FEB5DDL,0x15FEB5DDL}};
                const uint32_t *l_492 = &g_493;
                const uint32_t **l_494 = (void*)0;
                const uint32_t *l_496 = &l_490[1][0];
                const uint32_t **l_495 = &l_496;
                int64_t *l_509 = (void*)0;
                int32_t *l_526 = &g_151[0][0];
                uint16_t *l_557 = &g_187[0];
                uint16_t l_600 = 1UL;
                uint16_t l_604 = 0xD6B0L;
                int32_t *l_616 = &l_542;
                int i, j;
                if ((safe_lshift_func_uint64_t_u_u(((*l_362) = (((*l_495) = (l_492 = func_24((safe_sub_func_uint16_t_u_u((safe_lshift_func_uint8_t_u_u((safe_div_func_int32_t_s_s(((((**l_377) = (safe_div_func_int32_t_s_s((safe_rshift_func_uint16_t_u_u(((((0xF254L && ((*g_237) = (p_113.f0 & 0xFDL))) , (((safe_lshift_func_int8_t_s_u(((+(l_489 ^= (((l_479 = &l_124) != (void*)0) && (1UL ^ ((safe_add_func_int16_t_s_s(((l_482[1][1] >= (safe_lshift_func_uint16_t_u_s(((**l_458) = (safe_div_func_int64_t_s_s((g_213 = (safe_rshift_func_int8_t_s_s(p_114, (0x692AAEB1A12764EBLL && 0xC910E2130E7721E0LL)))), p_113.f0))), 7))) == 0x91134B2FL), 0x72D1L)) <= (*l_378)))))) ^ p_113.f0), g_245[3][7])) < p_113.f0) <= l_461)) >= l_461) , l_461), l_457)), l_490[0][0]))) , 0UL) , 1L), p_113.f0)), l_457)), 0L)), l_491))) == l_459)), 49)))
                { /* block id: 213 */
                    uint8_t l_520 = 0xB0L;
                    int32_t l_540 = (-1L);
                    int32_t l_544 = 0xE574EB19L;
                    int32_t l_545[8][6] = {{0xE81D1EB4L,0x35DC61D2L,(-7L),0L,0x1C239A25L,0x3D42A87EL},{0x3D42A87EL,0x5FD576F8L,0L,0x5FD576F8L,0x3D42A87EL,0x35DC61D2L},{0x3D42A87EL,0xE81D1EB4L,0x5FD576F8L,0L,(-3L),(-3L)},{0xE81D1EB4L,0x1C239A25L,0x1C239A25L,0xE81D1EB4L,0L,(-3L)},{(-7L),(-3L),0x5FD576F8L,0x35DC61D2L,0L,0x35DC61D2L},{0L,0x14A50148L,0L,0x46F31271L,0L,0x3D42A87EL},{0x5FD576F8L,(-3L),(-7L),0L,0L,(-7L)},{0x1C239A25L,0x1C239A25L,0xE81D1EB4L,0L,(-3L),0x46F31271L}};
                    int i, j;
                    if (((*g_34) = ((~0x1570E2E7L) == ((*l_456) = ((safe_sub_func_uint16_t_u_u(((((safe_mul_func_int8_t_s_s(((safe_lshift_func_int64_t_s_s((((safe_sub_func_uint16_t_u_u((safe_sub_func_int16_t_s_s(((l_508 != (l_509 = &g_59)) ^ 0x2AL), (safe_mul_func_uint64_t_u_u(g_493, (((((safe_lshift_func_int16_t_s_u((safe_mul_func_uint8_t_u_u(((((g_521 = ((safe_lshift_func_int64_t_s_u((safe_rshift_func_int64_t_s_s(((void*)0 != &g_59), 48)), 14)) | l_520)) , (0UL || (**l_377))) != l_460[4][2]) | (**l_377)), g_194)), 6)) , l_522) == g_524) ^ p_114) <= 1UL))))), 0x0F15L)) > (*l_491)) > l_482[1][1]), 42)) < g_35), 250UL)) & p_113.f0) , l_526) != &g_151[2][0]), p_114)) , (-1L))))))
                    { /* block id: 218 */
                        int32_t *l_527 = &g_199[0][5];
                        int32_t *l_528 = &l_457;
                        int32_t *l_529 = &l_482[9][1];
                        int32_t *l_530 = &l_482[5][1];
                        int32_t *l_531 = &g_199[1][2];
                        int32_t *l_532 = &l_460[7][1];
                        int32_t *l_533 = &l_482[1][1];
                        int32_t *l_534 = &l_438[1][5];
                        int32_t *l_535 = &l_304;
                        int32_t *l_536 = &l_460[5][0];
                        int16_t l_537 = (-5L);
                        int32_t *l_538 = &l_482[1][1];
                        int32_t *l_539[9] = {&l_460[3][0],&l_460[3][0],&l_460[3][0],&l_460[3][0],&l_460[3][0],&l_460[3][0],&l_460[3][0],&l_460[3][0],&l_460[3][0]};
                        uint64_t ***l_549 = &g_524;
                        int i;
                        l_546++;
                        (*l_549) = &g_525;
                    }
                    else
                    { /* block id: 221 */
                        struct S0 l_551[9] = {{44},{3},{44},{44},{3},{44},{44},{3},{44}};
                        struct S0 *l_552 = &l_551[0];
                        int i;
                        if (g_8)
                            goto lbl_550;
                        (*l_552) = l_551[0];
                    }
                }
                else
                { /* block id: 225 */
                    uint16_t *l_558 = &g_187[0];
                    int32_t l_565 = (-7L);
                    for (g_435 = 0; (g_435 < 9); ++g_435)
                    { /* block id: 228 */
                        return g_384;
                    }
                    if (((safe_rshift_func_uint8_t_u_u(((((**l_451) == (l_558 = l_557)) != ((*l_456) ^= (**l_377))) > (*g_237)), 3)) | (safe_rshift_func_int32_t_s_u((safe_div_func_int8_t_s_s(p_113.f0, (g_367 , ((*l_462) = (safe_mod_func_int32_t_s_s((((*l_491) >= g_35) , (g_46 , l_460[5][0])), p_113.f0)))))), 17))))
                    { /* block id: 234 */
                        uint32_t *l_578 = &g_194;
                        g_34 = func_19((l_565 , &l_482[6][1]), (safe_mul_func_int16_t_s_s((safe_sub_func_uint8_t_u_u((safe_div_func_uint32_t_u_u((l_482[1][1] && ((safe_add_func_uint64_t_u_u(((*l_130) = (**g_524)), (&p_113 == &g_46))) > (*l_378))), ((*l_578) = (safe_sub_func_uint8_t_u_u(0x42L, (safe_add_func_uint32_t_u_u(l_457, (*g_34)))))))), (*l_491))), (*g_237))), p_114, &l_565);
                    }
                    else
                    { /* block id: 238 */
                        int32_t l_591 = 7L;
                        uint32_t *l_592 = &g_194;
                        int32_t l_593 = 0xFC4F1E5AL;
                        struct S0 *l_594[10] = {&l_436,&l_436,&l_436,&l_436,&l_436,&l_436,&l_436,&l_436,&l_436,&l_436};
                        int i;
                        (**l_377) = (safe_mul_func_uint16_t_u_u(((((*l_456) = (254UL <= (safe_mul_func_uint16_t_u_u(3UL, ((((((*l_592) = (safe_mod_func_uint8_t_u_u((safe_sub_func_int32_t_s_s((safe_sub_func_uint32_t_u_u(((safe_add_func_int16_t_s_s(g_213, (l_479 == (void*)0))) > (0UL || (&l_436 != &g_46))), (0xB7DFEC0DL < 7UL))), 0xC1710C65L)), l_591))) == l_565) , 0x1F598D1EL) < l_593) == g_295))))) , p_113.f0) > p_113.f0), l_460[5][0]));
                        g_384 = g_46;
                        (*g_34) ^= (*l_378);
                    }
                }
                l_597 = l_595;
                for (g_215 = 0; (g_215 >= 0); g_215 -= 1)
                { /* block id: 249 */
                    int32_t *l_601 = (void*)0;
                    const int32_t l_609[7][8][4] = {{{7L,0xF424DB9DL,0x2C4DDE70L,0L},{(-1L),0x2C4DDE70L,0x128A3843L,(-6L)},{0L,0xEF9A7D44L,1L,0xB6260183L},{0x360E2517L,1L,0x2ABC30E0L,(-1L)},{0L,0x6E87B82BL,0x83667255L,0x9C481740L},{(-6L),0x1131A024L,0L,0xF424DB9DL},{(-10L),0L,3L,0x31921743L},{0x82184A58L,0x60961CD1L,0L,0x360E2517L}},{{1L,0x107EF1E3L,0x6E87B82BL,(-6L)},{0L,1L,(-1L),1L},{0x090480F2L,1L,0xFC25F2C3L,3L},{(-1L),0L,0x83667255L,1L},{1L,0x2C4DDE70L,(-10L),6L},{0x6E87B82BL,1L,1L,0L},{0x360E2517L,0x60961CD1L,0L,0L},{(-1L),0x360E2517L,(-10L),0x9C481740L}},{{(-5L),0xE3D57AE2L,(-5L),8L},{0x090480F2L,1L,3L,(-1L)},{0x128A3843L,(-7L),0L,1L},{(-1L),0x107EF1E3L,0L,6L},{0x128A3843L,0xA150D49BL,3L,0xBEC1EA12L},{0x090480F2L,(-1L),(-5L),0L},{(-5L),0L,(-10L),1L},{(-1L),1L,0L,0xFC25F2C3L}},{{0x360E2517L,(-1L),1L,0xB6260183L},{0x6E87B82BL,(-7L),(-10L),0L},{1L,0x360E2517L,0x83667255L,0xF424DB9DL},{(-1L),0x88A18C79L,0xFC25F2C3L,(-10L)},{0x090480F2L,0L,(-1L),0L},{0L,0xD2A1732AL,0x6E87B82BL,1L},{1L,0xEF9A7D44L,0L,0xFC25F2C3L},{0x82184A58L,(-1L),3L,1L}},{{(-10L),0L,0L,1L},{(-6L),0L,0x83667255L,0xD2A1732AL},{0L,0xA150D49BL,0x2ABC30E0L,0L},{0x360E2517L,1L,1L,0x360E2517L},{0L,0xD2A1732AL,0x128A3843L,0L},{(-1L),0x6E87B82BL,0x9AACC7ECL,8L},{6L,1L,0xFC25F2C3L,8L},{(-10L),0x6E87B82BL,0xACA6DD65L,0L}},{{0x465B7497L,0xD2A1732AL,0L,0x360E2517L},{0xEF9A7D44L,1L,0xB6260183L,0L},{0x82184A58L,0xA150D49BL,(-1L),0xD2A1732AL},{0x9AACC7ECL,0L,(-1L),1L},{(-5L),0L,0x9AACC7ECL,1L},{0L,(-1L),0x2ABC30E0L,0xFC25F2C3L},{0x6E87B82BL,0xEF9A7D44L,0xD53F99CDL,1L},{1L,0xD2A1732AL,(-10L),0L}},{{0L,0L,(-10L),0L},{0x60961CD1L,0L,1L,(-1L)},{0x465B7497L,1L,0x570570A3L,0xFCB469D8L},{(-6L),5L,(-1L),0xD53F99CDL},{0xFF00B93FL,8L,0xD53F99CDL,0xBEC1EA12L},{0L,(-1L),0xE3D57AE2L,0xB6260183L},{0x2ABC30E0L,0x88A18C79L,(-7L),0x88A18C79L},{(-6L),1L,(-10L),0x6E87B82BL}}};
                    int i, j, k;
                    (*l_378) &= (((l_599 , (l_600 ^ (l_600 >= (((((*g_34) = 1L) , ((((void*)0 != l_601) || (safe_lshift_func_int64_t_s_s(0L, g_598.f4))) >= ((*l_462) |= g_33))) , g_245[3][6]) , g_161)))) != l_457) | l_604);
                    (*l_491) ^= (-1L);
                    for (l_542 = 0; (l_542 <= 0); l_542 += 1)
                    { /* block id: 256 */
                        int32_t l_614 = 0x32332A4DL;
                        uint32_t *l_615 = &g_194;
                        int32_t **l_617 = &l_616;
                        int i, j;
                        (*l_617) = ((l_438[g_215][l_542] , p_113) , ((((l_438[(l_542 + 2)][(g_215 + 6)] <= ((safe_unary_minus_func_int8_t_s(l_438[(g_215 + 1)][(l_542 + 6)])) == (+(safe_div_func_int64_t_s_s(((*l_491) , (l_609[5][5][3] , g_245[3][7])), (safe_mul_func_uint64_t_u_u((l_457 >= ((*l_615) = ((l_614 = (g_131[g_215] ^= 5UL)) == 0L))), (-1L)))))))) && 18446744073709551615UL) <= 0xCCD45A17L) , l_616));
                        if ((*g_34))
                            break;
                    }
                }
                (*l_378) ^= (p_114 > (safe_unary_minus_func_int32_t_s((*g_34))));
            }
            return g_46;
        }
        else
        { /* block id: 267 */
            struct S0 *l_619 = &l_436;
            int32_t * const l_632[2] = {&g_151[3][0],&g_151[3][0]};
            int32_t l_637 = 1L;
            int32_t l_638[9][6] = {{0x8EF74FDEL,(-6L),0x2F605241L,0L,0xE51BCE20L,0x90A6278EL},{1L,0L,(-6L),1L,0x90A6278EL,0x06ACFC08L},{6L,0L,(-9L),0xCD2EA72EL,0xE51BCE20L,(-1L)},{0L,(-6L),0x03EC4070L,2L,0xE51BCE20L,0xE51BCE20L},{0xFB4E4E3CL,0L,0L,0xFB4E4E3CL,0x90A6278EL,0x2F605241L},{0xBB5C8AF8L,0L,0x90A6278EL,6L,0xE51BCE20L,(-6L)},{2L,(-6L),0x06ACFC08L,0x8EF74FDEL,0xE51BCE20L,(-9L)},{9L,0L,(-1L),9L,0x90A6278EL,0x03EC4070L},{0xCD2EA72EL,0L,0xE51BCE20L,0xBB5C8AF8L,0xE51BCE20L,0L}};
            uint64_t * const *l_701 = &l_362;
            int32_t l_710 = 1L;
            uint16_t l_722 = 0xD3C4L;
            int i, j;
            (*l_619) = p_113;
            for (l_546 = (-12); (l_546 < 30); l_546++)
            { /* block id: 271 */
                int32_t l_636 = 1L;
                int64_t l_672 = 0xCADE687EA47254F7LL;
                int32_t *l_711 = (void*)0;
                int32_t *l_712 = &l_542;
                int32_t *l_713 = &l_438[2][5];
                int32_t *l_714 = &l_542;
                int32_t *l_715 = (void*)0;
                int32_t *l_716 = &l_541;
                int32_t *l_717 = &g_199[1][0];
                int32_t *l_718 = &l_489;
                int32_t *l_719[8][7][2] = {{{&g_35,(void*)0},{&g_35,&g_199[0][5]},{&g_199[0][7],&g_35},{&g_199[0][5],(void*)0},{&g_143,&g_143},{&g_199[0][7],&g_143},{&g_143,(void*)0}},{{&g_199[0][5],&g_35},{&g_199[0][7],&g_199[0][5]},{&g_35,(void*)0},{&g_35,&g_199[0][5]},{&g_199[0][7],&g_35},{&g_199[0][5],(void*)0},{&g_143,&g_143}},{{&g_199[0][7],&g_143},{&g_143,(void*)0},{&g_199[0][5],&g_35},{&g_199[0][7],&g_199[0][5]},{&g_35,(void*)0},{&g_35,&g_199[0][5]},{&g_199[0][7],&g_35}},{{&g_199[0][5],(void*)0},{&g_143,&g_143},{&g_199[0][7],&g_143},{&g_143,(void*)0},{&g_199[0][5],&g_35},{&g_199[0][7],&g_199[0][5]},{&g_35,(void*)0}},{{&g_35,&g_199[0][5]},{&g_199[0][7],&g_35},{&g_199[0][5],(void*)0},{&g_143,&g_143},{&g_199[0][7],&g_143},{&g_143,(void*)0},{&g_199[0][5],&g_35}},{{&g_199[0][7],&g_199[0][5]},{&g_35,(void*)0},{&g_35,&g_199[0][5]},{&g_199[0][7],&g_35},{&g_199[0][5],(void*)0},{&g_143,&g_143},{&g_199[0][7],&g_143}},{{&g_143,(void*)0},{&g_199[0][5],&g_35},{&g_199[0][7],&g_199[0][5]},{&g_35,(void*)0},{&g_35,&g_199[0][5]},{&g_199[0][7],&g_35},{&g_199[0][5],(void*)0}},{{&g_143,&g_143},{&g_199[0][7],&g_143},{&g_143,(void*)0},{&g_199[0][5],&l_541},{&g_199[0][3],(void*)0},{&l_541,(void*)0},{&l_541,(void*)0}}};
                int i, j, k;
                if ((((safe_lshift_func_int16_t_s_u(((((safe_sub_func_uint32_t_u_u((((**l_377) = (l_637 = ((((void*)0 != p_115) <= ((safe_mod_func_uint32_t_u_u((safe_sub_func_int32_t_s_s((safe_add_func_uint64_t_u_u(((3L > ((void*)0 != l_632[0])) <= (p_113.f0 ^ 0xBD2AL)), (safe_lshift_func_uint32_t_u_u(1UL, 13)))), (((((+p_114) != 65535UL) >= 0x00E20934A135BA08LL) <= 0x53L) >= l_636))), (*l_491))) < (*l_378))) | g_187[0]))) || 1L), l_638[3][2])) ^ 0UL) , 0xF85DDF61L) > l_636), 2)) , g_596.f4) > g_367))
                { /* block id: 274 */
                    uint8_t l_650 = 0xFDL;
                    int16_t *l_651 = &g_215;
                    (**l_377) ^= (p_114 >= ((*l_651) |= (((void*)0 != &g_194) || (safe_rshift_func_uint64_t_u_s((((*l_130) &= (p_113.f0 <= (safe_lshift_func_uint32_t_u_u((safe_sub_func_int16_t_s_s(0x281FL, (p_113.f0 , (*g_237)))), (+((-5L) || (((safe_add_func_int64_t_s_s(((safe_mod_func_int32_t_s_s(l_650, (*l_491))) || (*l_491)), p_113.f0)) || 0x4DL) >= 0x9942EE8EC1FCEE51LL))))))) >= 0x0ECBDA95A8D0E25FLL), g_435)))));
                    if (((safe_mul_func_uint8_t_u_u(((*l_462)--), ((safe_mod_func_int8_t_s_s((safe_mul_func_uint32_t_u_u(((safe_div_func_uint8_t_u_u((((((safe_unary_minus_func_int32_t_s((safe_add_func_int8_t_s_s(((safe_div_func_uint16_t_u_u((*g_237), (*g_237))) && 1L), (safe_mod_func_int64_t_s_s((((~((((safe_rshift_func_int64_t_s_u(0xF2FCCFF0DDF330B1LL, 61)) == l_672) | ((safe_sub_func_int64_t_s_s(p_114, (p_114 || p_114))) && g_131[0])) && 0x20F779DF8A610BE3LL)) | g_131[0]) , 4L), (**l_377))))))) , 0xB5L) != g_215) | l_650) > (*l_378)), 0x9BL)) ^ l_636), p_114)), 0x13L)) , (**l_377)))) >= (*l_491)))
                    { /* block id: 279 */
                        (*l_378) = (safe_mul_func_int64_t_s_s(((l_636 > g_131[0]) <= (-10L)), (safe_add_func_int16_t_s_s(g_151[0][0], (((l_679 == &g_160[6]) , 0x0D6CL) ^ 0xC90CL)))));
                    }
                    else
                    { /* block id: 281 */
                        return g_384;
                    }
                    if ((((*l_378) = (*l_378)) && (((safe_sub_func_int16_t_s_s(0x59A4L, g_598.f5)) , (*g_34)) >= ((safe_sub_func_int16_t_s_s(l_684, (*l_491))) , (g_131[0] <= ((*l_462) &= ((g_151[0][0] , (safe_rshift_func_int8_t_s_u(((l_672 >= (*l_378)) != 0x01L), (*l_491)))) & 0xD738L)))))))
                    { /* block id: 286 */
                        uint8_t l_687 = 3UL;
                        if (l_687)
                            break;
                    }
                    else
                    { /* block id: 288 */
                        return l_599;
                    }
                    if (l_688)
                        break;
                }
                else
                { /* block id: 292 */
                    const uint64_t **l_702 = &l_523[4];
                    for (l_543 = 0; (l_543 < (-25)); l_543 = safe_sub_func_uint8_t_u_u(l_543, 3))
                    { /* block id: 295 */
                        int32_t **l_691 = &g_34;
                        struct S0 ** const l_695[8][1] = {{&g_694},{&g_694},{&g_694},{&g_694},{&g_694},{&g_694},{&g_694},{&g_694}};
                        int32_t *l_696 = &l_541;
                        int64_t *l_709 = &l_672;
                        int i, j;
                        (*l_691) = (void*)0;
                        l_638[0][0] = (~(1L | ((((g_693 = (void*)0) != l_695[5][0]) & ((*l_696) = ((*l_491) |= ((**l_377) = 0xC4447965L)))) , (safe_mul_func_uint8_t_u_u(((((safe_div_func_uint8_t_u_u(((-1L) <= (l_701 != l_702)), (safe_sub_func_int64_t_s_s((((safe_mod_func_uint64_t_u_u(p_114, ((safe_mul_func_int16_t_s_s((((*l_709) = g_199[0][5]) && 18446744073709551609UL), 0UL)) || l_672))) , l_636) , l_710), (*l_696))))) , l_638[1][2]) >= g_187[0]) | l_636), g_131[0])))));
                        (*l_691) = &l_638[4][5];
                        (*l_378) = l_672;
                    }
                }
                l_722--;
            }
        }
        l_728[4][0][1]++;
    }
    return p_113;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_4[i], "g_4[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_8, "g_8", print_hash_value);
    transparent_crc(g_10, "g_10", print_hash_value);
    transparent_crc(g_12, "g_12", print_hash_value);
    transparent_crc(g_31, "g_31", print_hash_value);
    transparent_crc(g_33, "g_33", print_hash_value);
    transparent_crc(g_35, "g_35", print_hash_value);
    transparent_crc(g_36, "g_36", print_hash_value);
    transparent_crc(g_46.f0, "g_46.f0", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_57[i], "g_57[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_59, "g_59", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        transparent_crc(g_99[i], "g_99[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_131[i], "g_131[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_143, "g_143", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 1; j++)
        {
            transparent_crc(g_151[i][j], "g_151[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_161, "g_161", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_187[i], "g_187[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_194, "g_194", print_hash_value);
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 9; j++)
        {
            transparent_crc(g_199[i][j], "g_199[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_213, "g_213", print_hash_value);
    transparent_crc(g_215, "g_215", print_hash_value);
    transparent_crc(g_239, "g_239", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 8; j++)
        {
            transparent_crc(g_245[i][j], "g_245[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_253, "g_253", print_hash_value);
    transparent_crc(g_295, "g_295", print_hash_value);
    transparent_crc(g_367, "g_367", print_hash_value);
    transparent_crc(g_384.f0, "g_384.f0", print_hash_value);
    transparent_crc(g_435, "g_435", print_hash_value);
    transparent_crc(g_440, "g_440", print_hash_value);
    transparent_crc(g_493, "g_493", print_hash_value);
    transparent_crc(g_521, "g_521", print_hash_value);
    transparent_crc(g_596.f0, "g_596.f0", print_hash_value);
    transparent_crc(g_596.f1, "g_596.f1", print_hash_value);
    transparent_crc(g_596.f2, "g_596.f2", print_hash_value);
    transparent_crc(g_596.f3, "g_596.f3", print_hash_value);
    transparent_crc(g_596.f4, "g_596.f4", print_hash_value);
    transparent_crc(g_596.f5, "g_596.f5", print_hash_value);
    transparent_crc(g_598.f0, "g_598.f0", print_hash_value);
    transparent_crc(g_598.f1, "g_598.f1", print_hash_value);
    transparent_crc(g_598.f2, "g_598.f2", print_hash_value);
    transparent_crc(g_598.f3, "g_598.f3", print_hash_value);
    transparent_crc(g_598.f4, "g_598.f4", print_hash_value);
    transparent_crc(g_598.f5, "g_598.f5", print_hash_value);
    transparent_crc(g_828, "g_828", print_hash_value);
    transparent_crc(g_858.f0, "g_858.f0", print_hash_value);
    transparent_crc(g_858.f1, "g_858.f1", print_hash_value);
    transparent_crc(g_858.f2, "g_858.f2", print_hash_value);
    transparent_crc(g_858.f3, "g_858.f3", print_hash_value);
    transparent_crc(g_858.f4, "g_858.f4", print_hash_value);
    transparent_crc(g_858.f5, "g_858.f5", print_hash_value);
    transparent_crc(g_914, "g_914", print_hash_value);
    transparent_crc(g_926, "g_926", print_hash_value);
    transparent_crc(g_959.f0, "g_959.f0", print_hash_value);
    transparent_crc(g_961.f0, "g_961.f0", print_hash_value);
    transparent_crc(g_962.f0, "g_962.f0", print_hash_value);
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 10; j++)
        {
            transparent_crc(g_963[i][j].f0, "g_963[i][j].f0", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 9; i++)
    {
        transparent_crc(g_964[i].f0, "g_964[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1002.f0, "g_1002.f0", print_hash_value);
    transparent_crc(g_1020.f0, "g_1020.f0", print_hash_value);
    transparent_crc(g_1065, "g_1065", print_hash_value);
    transparent_crc(g_1109, "g_1109", print_hash_value);
    transparent_crc(g_1162.f0, "g_1162.f0", print_hash_value);
    transparent_crc(g_1162.f1, "g_1162.f1", print_hash_value);
    transparent_crc(g_1162.f2, "g_1162.f2", print_hash_value);
    transparent_crc(g_1162.f3, "g_1162.f3", print_hash_value);
    transparent_crc(g_1162.f4, "g_1162.f4", print_hash_value);
    transparent_crc(g_1162.f5, "g_1162.f5", print_hash_value);
    transparent_crc(g_1231, "g_1231", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_1391[i], "g_1391[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1402, "g_1402", print_hash_value);
    transparent_crc(g_1520, "g_1520", print_hash_value);
    transparent_crc(g_1557, "g_1557", print_hash_value);
    transparent_crc(g_1603, "g_1603", print_hash_value);
    transparent_crc(g_1646, "g_1646", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_1686[i], "g_1686[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1700, "g_1700", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 5; j++)
        {
            for (k = 0; k < 1; k++)
            {
                transparent_crc(g_1734[i][j][k].f0, "g_1734[i][j][k].f0", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1736.f0, "g_1736.f0", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        transparent_crc(g_1759[i].f0, "g_1759[i].f0", print_hash_value);
        transparent_crc(g_1759[i].f1, "g_1759[i].f1", print_hash_value);
        transparent_crc(g_1759[i].f2, "g_1759[i].f2", print_hash_value);
        transparent_crc(g_1759[i].f3, "g_1759[i].f3", print_hash_value);
        transparent_crc(g_1759[i].f4, "g_1759[i].f4", print_hash_value);
        transparent_crc(g_1759[i].f5, "g_1759[i].f5", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1822, "g_1822", print_hash_value);
    transparent_crc(g_1904, "g_1904", print_hash_value);
    transparent_crc(g_1908.f0, "g_1908.f0", print_hash_value);
    transparent_crc(g_1908.f1, "g_1908.f1", print_hash_value);
    transparent_crc(g_1908.f2, "g_1908.f2", print_hash_value);
    transparent_crc(g_1908.f3, "g_1908.f3", print_hash_value);
    transparent_crc(g_1908.f4, "g_1908.f4", print_hash_value);
    transparent_crc(g_1908.f5, "g_1908.f5", print_hash_value);
    transparent_crc(g_1960, "g_1960", print_hash_value);
    transparent_crc(g_2060, "g_2060", print_hash_value);
    transparent_crc(g_2090, "g_2090", print_hash_value);
    transparent_crc(g_2261, "g_2261", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 6; j++)
        {
            transparent_crc(g_2290[i][j], "g_2290[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2381, "g_2381", print_hash_value);
    transparent_crc(g_2479, "g_2479", print_hash_value);
    transparent_crc(g_2560, "g_2560", print_hash_value);
    transparent_crc(g_2639.f0, "g_2639.f0", print_hash_value);
    transparent_crc(g_2639.f1, "g_2639.f1", print_hash_value);
    transparent_crc(g_2639.f2, "g_2639.f2", print_hash_value);
    transparent_crc(g_2639.f3, "g_2639.f3", print_hash_value);
    transparent_crc(g_2639.f4, "g_2639.f4", print_hash_value);
    transparent_crc(g_2639.f5, "g_2639.f5", print_hash_value);
    transparent_crc(g_2683, "g_2683", print_hash_value);
    transparent_crc(g_2748, "g_2748", print_hash_value);
    transparent_crc(g_2924.f0, "g_2924.f0", print_hash_value);
    transparent_crc(g_2954.f0, "g_2954.f0", print_hash_value);
    transparent_crc(g_2954.f1, "g_2954.f1", print_hash_value);
    transparent_crc(g_2954.f2, "g_2954.f2", print_hash_value);
    transparent_crc(g_2954.f3, "g_2954.f3", print_hash_value);
    transparent_crc(g_2954.f4, "g_2954.f4", print_hash_value);
    transparent_crc(g_2954.f5, "g_2954.f5", print_hash_value);
    transparent_crc(g_3075, "g_3075", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 4; j++)
        {
            transparent_crc(g_3204[i][j].f0, "g_3204[i][j].f0", print_hash_value);
            transparent_crc(g_3204[i][j].f1, "g_3204[i][j].f1", print_hash_value);
            transparent_crc(g_3204[i][j].f2, "g_3204[i][j].f2", print_hash_value);
            transparent_crc(g_3204[i][j].f3, "g_3204[i][j].f3", print_hash_value);
            transparent_crc(g_3204[i][j].f4, "g_3204[i][j].f4", print_hash_value);
            transparent_crc(g_3204[i][j].f5, "g_3204[i][j].f5", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_3258, "g_3258", print_hash_value);
    transparent_crc(g_3575, "g_3575", print_hash_value);
    transparent_crc(g_3670, "g_3670", print_hash_value);
    transparent_crc(g_3714.f0, "g_3714.f0", print_hash_value);
    transparent_crc(g_3714.f1, "g_3714.f1", print_hash_value);
    transparent_crc(g_3714.f2, "g_3714.f2", print_hash_value);
    transparent_crc(g_3714.f3, "g_3714.f3", print_hash_value);
    transparent_crc(g_3714.f4, "g_3714.f4", print_hash_value);
    transparent_crc(g_3714.f5, "g_3714.f5", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 8; j++)
        {
            transparent_crc(g_3767[i][j], "g_3767[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_3816, "g_3816", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 10; j++)
        {
            for (k = 0; k < 2; k++)
            {
                transparent_crc(g_3895[i][j][k], "g_3895[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    for (i = 0; i < 2; i++)
    {
        transparent_crc(g_3901[i].f0, "g_3901[i].f0", print_hash_value);
        transparent_crc(g_3901[i].f1, "g_3901[i].f1", print_hash_value);
        transparent_crc(g_3901[i].f2, "g_3901[i].f2", print_hash_value);
        transparent_crc(g_3901[i].f3, "g_3901[i].f3", print_hash_value);
        transparent_crc(g_3901[i].f4, "g_3901[i].f4", print_hash_value);
        transparent_crc(g_3901[i].f5, "g_3901[i].f5", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_3971[i].f0, "g_3971[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 7; k++)
            {
                transparent_crc(g_4004[i][j][k].f0, "g_4004[i][j][k].f0", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_4006.f0, "g_4006.f0", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 9; j++)
        {
            transparent_crc(g_4035[i][j], "g_4035[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_4076.f0, "g_4076.f0", print_hash_value);
    transparent_crc(g_4076.f1, "g_4076.f1", print_hash_value);
    transparent_crc(g_4076.f2, "g_4076.f2", print_hash_value);
    transparent_crc(g_4076.f3, "g_4076.f3", print_hash_value);
    transparent_crc(g_4076.f4, "g_4076.f4", print_hash_value);
    transparent_crc(g_4076.f5, "g_4076.f5", print_hash_value);
    transparent_crc(g_4077.f0, "g_4077.f0", print_hash_value);
    transparent_crc(g_4077.f1, "g_4077.f1", print_hash_value);
    transparent_crc(g_4077.f2, "g_4077.f2", print_hash_value);
    transparent_crc(g_4077.f3, "g_4077.f3", print_hash_value);
    transparent_crc(g_4077.f4, "g_4077.f4", print_hash_value);
    transparent_crc(g_4077.f5, "g_4077.f5", print_hash_value);
    transparent_crc(g_4078.f0, "g_4078.f0", print_hash_value);
    transparent_crc(g_4078.f1, "g_4078.f1", print_hash_value);
    transparent_crc(g_4078.f2, "g_4078.f2", print_hash_value);
    transparent_crc(g_4078.f3, "g_4078.f3", print_hash_value);
    transparent_crc(g_4078.f4, "g_4078.f4", print_hash_value);
    transparent_crc(g_4078.f5, "g_4078.f5", print_hash_value);
    transparent_crc(g_4079.f0, "g_4079.f0", print_hash_value);
    transparent_crc(g_4079.f1, "g_4079.f1", print_hash_value);
    transparent_crc(g_4079.f2, "g_4079.f2", print_hash_value);
    transparent_crc(g_4079.f3, "g_4079.f3", print_hash_value);
    transparent_crc(g_4079.f4, "g_4079.f4", print_hash_value);
    transparent_crc(g_4079.f5, "g_4079.f5", print_hash_value);
    transparent_crc(g_4080.f0, "g_4080.f0", print_hash_value);
    transparent_crc(g_4080.f1, "g_4080.f1", print_hash_value);
    transparent_crc(g_4080.f2, "g_4080.f2", print_hash_value);
    transparent_crc(g_4080.f3, "g_4080.f3", print_hash_value);
    transparent_crc(g_4080.f4, "g_4080.f4", print_hash_value);
    transparent_crc(g_4080.f5, "g_4080.f5", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_4081[i].f0, "g_4081[i].f0", print_hash_value);
        transparent_crc(g_4081[i].f1, "g_4081[i].f1", print_hash_value);
        transparent_crc(g_4081[i].f2, "g_4081[i].f2", print_hash_value);
        transparent_crc(g_4081[i].f3, "g_4081[i].f3", print_hash_value);
        transparent_crc(g_4081[i].f4, "g_4081[i].f4", print_hash_value);
        transparent_crc(g_4081[i].f5, "g_4081[i].f5", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_4082.f0, "g_4082.f0", print_hash_value);
    transparent_crc(g_4082.f1, "g_4082.f1", print_hash_value);
    transparent_crc(g_4082.f2, "g_4082.f2", print_hash_value);
    transparent_crc(g_4082.f3, "g_4082.f3", print_hash_value);
    transparent_crc(g_4082.f4, "g_4082.f4", print_hash_value);
    transparent_crc(g_4082.f5, "g_4082.f5", print_hash_value);
    transparent_crc(g_4083.f0, "g_4083.f0", print_hash_value);
    transparent_crc(g_4083.f1, "g_4083.f1", print_hash_value);
    transparent_crc(g_4083.f2, "g_4083.f2", print_hash_value);
    transparent_crc(g_4083.f3, "g_4083.f3", print_hash_value);
    transparent_crc(g_4083.f4, "g_4083.f4", print_hash_value);
    transparent_crc(g_4083.f5, "g_4083.f5", print_hash_value);
    transparent_crc(g_4084.f0, "g_4084.f0", print_hash_value);
    transparent_crc(g_4084.f1, "g_4084.f1", print_hash_value);
    transparent_crc(g_4084.f2, "g_4084.f2", print_hash_value);
    transparent_crc(g_4084.f3, "g_4084.f3", print_hash_value);
    transparent_crc(g_4084.f4, "g_4084.f4", print_hash_value);
    transparent_crc(g_4084.f5, "g_4084.f5", print_hash_value);
    transparent_crc(g_4085.f0, "g_4085.f0", print_hash_value);
    transparent_crc(g_4085.f1, "g_4085.f1", print_hash_value);
    transparent_crc(g_4085.f2, "g_4085.f2", print_hash_value);
    transparent_crc(g_4085.f3, "g_4085.f3", print_hash_value);
    transparent_crc(g_4085.f4, "g_4085.f4", print_hash_value);
    transparent_crc(g_4085.f5, "g_4085.f5", print_hash_value);
    transparent_crc(g_4086.f0, "g_4086.f0", print_hash_value);
    transparent_crc(g_4086.f1, "g_4086.f1", print_hash_value);
    transparent_crc(g_4086.f2, "g_4086.f2", print_hash_value);
    transparent_crc(g_4086.f3, "g_4086.f3", print_hash_value);
    transparent_crc(g_4086.f4, "g_4086.f4", print_hash_value);
    transparent_crc(g_4086.f5, "g_4086.f5", print_hash_value);
    transparent_crc(g_4087.f0, "g_4087.f0", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 1
breakdown:
   depth: 0, occurrence: 1104
   depth: 1, occurrence: 41
XXX total union variables: 1

XXX non-zero bitfields defined in structs: 9
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 3
XXX structs with bitfields in the program: 95
breakdown:
   indirect level: 0, occurrence: 42
   indirect level: 1, occurrence: 30
   indirect level: 2, occurrence: 12
   indirect level: 3, occurrence: 8
   indirect level: 4, occurrence: 1
   indirect level: 5, occurrence: 2
XXX full-bitfields structs in the program: 41
breakdown:
   indirect level: 0, occurrence: 41
XXX times a bitfields struct's address is taken: 149
XXX times a bitfields struct on LHS: 4
XXX times a bitfields struct on RHS: 89
XXX times a single bitfield on LHS: 14
XXX times a single bitfield on RHS: 220

XXX max expression depth: 47
breakdown:
   depth: 1, occurrence: 302
   depth: 2, occurrence: 79
   depth: 3, occurrence: 8
   depth: 4, occurrence: 5
   depth: 5, occurrence: 2
   depth: 6, occurrence: 2
   depth: 7, occurrence: 1
   depth: 8, occurrence: 3
   depth: 11, occurrence: 1
   depth: 12, occurrence: 1
   depth: 14, occurrence: 2
   depth: 15, occurrence: 4
   depth: 16, occurrence: 2
   depth: 17, occurrence: 3
   depth: 18, occurrence: 4
   depth: 19, occurrence: 3
   depth: 20, occurrence: 2
   depth: 21, occurrence: 5
   depth: 22, occurrence: 1
   depth: 23, occurrence: 3
   depth: 24, occurrence: 1
   depth: 25, occurrence: 6
   depth: 26, occurrence: 3
   depth: 27, occurrence: 4
   depth: 28, occurrence: 3
   depth: 29, occurrence: 1
   depth: 31, occurrence: 1
   depth: 32, occurrence: 2
   depth: 33, occurrence: 1
   depth: 35, occurrence: 2
   depth: 38, occurrence: 1
   depth: 41, occurrence: 1
   depth: 47, occurrence: 1

XXX total number of pointers: 790

XXX times a variable address is taken: 2161
XXX times a pointer is dereferenced on RHS: 524
breakdown:
   depth: 1, occurrence: 327
   depth: 2, occurrence: 100
   depth: 3, occurrence: 81
   depth: 4, occurrence: 12
   depth: 5, occurrence: 4
XXX times a pointer is dereferenced on LHS: 542
breakdown:
   depth: 1, occurrence: 416
   depth: 2, occurrence: 58
   depth: 3, occurrence: 59
   depth: 4, occurrence: 3
   depth: 5, occurrence: 6
XXX times a pointer is compared with null: 80
XXX times a pointer is compared with address of another variable: 19
XXX times a pointer is compared with another pointer: 30
XXX times a pointer is qualified to be dereferenced: 17138

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 2533
   level: 2, occurrence: 647
   level: 3, occurrence: 424
   level: 4, occurrence: 81
   level: 5, occurrence: 57
XXX number of pointers point to pointers: 396
XXX number of pointers point to scalars: 347
XXX number of pointers point to structs: 36
XXX percent of pointers has null in alias set: 28.7
XXX average alias set size: 1.49

XXX times a non-volatile is read: 3660
XXX times a non-volatile is write: 1845
XXX times a volatile is read: 8
XXX    times read thru a pointer: 7
XXX times a volatile is write: 12
XXX    times written thru a pointer: 12
XXX times a volatile is available for access: 0
XXX percentage of non-volatile access: 99.6

XXX forward jumps: 1
XXX backward jumps: 11

XXX stmts: 312
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 30
   depth: 1, occurrence: 44
   depth: 2, occurrence: 50
   depth: 3, occurrence: 48
   depth: 4, occurrence: 67
   depth: 5, occurrence: 73

XXX percentage a fresh-made variable is used: 17.1
XXX percentage an existing variable is used: 82.9
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/

 /********************* This is a debug version  **********************/


